Questions tagged [permalinks]

23 questions
3
votes
1 answer

Permalinks in Wordpress not working on Google Cloud Platform

I’ve been beating my head against the wall for three weeks trying to get permalink settings in Wordpress to work on Google Cloud Platform. Here’s a quick summary of what I have, what I’m trying to do, and what I’ve already tried. I have two servers…
alexforyou
  • 91
  • 1
  • 2
  • 9
2
votes
2 answers

URL rewrite on custom Wordpress site

I've been tasked with modifying an existing Wordpress site with URL rewriting. Problem is I've never done this before. I know these rules should go in a .htaccess file in root with something like this in it: # BEGIN WordPress
o01
  • 249
  • 2
  • 12
1
vote
1 answer

Wordpress Permalinks and regular php files

I have Wordpress installed in the root directory and configured properly using permalinks. Alongside the Wordpress blog, I have a full-fledged custom developed php application with several pages. I want to not show the .php extension for any of the…
timw07
  • 21
  • 2
1
vote
1 answer

Pretty permalinks not working Apache, Wordpress, Mod rewrite

I'm trying to change the permalinks in Wordpress, so the URL uses the post-names instead. I've tried to modify the httpd.conf directly as below but Apache doesn't seem to be parsing the URL. I keep getting page not found. I can't see any attempts…
supmethods
  • 275
  • 3
  • 14
1
vote
0 answers

Apache Rewrite Permalinks on non-WordPress site

I've inherited a legacy PHP site running on Apache with a custom CMS. The URL structure is currently: https://example.com/topic.php?id=100&Title=Blog+Post+Topic Is there an easy(-ish) way to automatically map that URL to a more friendly URL using an…
Kevin Worthington
  • 327
  • 2
  • 6
  • 19
0
votes
1 answer

Wordpress and IIS - How can I force HTTPS redirection and use Permalinks?

Currently, I have a Wordpress site which is running under IIS 10. I use custom permalinks and I use the following URL Rewrite rule to make my permalinks work. IIS URL Rewrite Screenshot The problem is, HTTPS redirection isn't working. By that I mean…
t0rxe
  • 7
  • 3
0
votes
2 answers

New permalink structure: nginx rewrite loop

I build a new permalink structure on my website. After adding some nginx rewrite rules, there is a redirect loop to /vlogger/info/info/info/info/... Old permalink: /vlogger/user-name New permalink: /vlogger/info/user-name current nginx…
turbopixel
  • 11
  • 3
0
votes
0 answers

Getting WordPress Permalinks to play nice with Nginx

I'm running an Nginx server with multiple WordPress installs in subdirectories, for instance: /var/www/lovelyfolder I had assumed, perhaps naively, that the following code (in default.conf) would apply to all subfolders in the root: …
0
votes
1 answer

Can't get 404s for Wordpress pages with permalinks and nginx

I have nginx 1.6.2 serving a wordpress site, with php-fpm. Permalinks are setup the following way: /blog/%postname%/ nginx serves correctly the site pages (/, /products, /contact...) as well as the blog articles (under/blog/). 404s work well for…
Mehdi
  • 121
  • 9
0
votes
1 answer

Why are permalinks not working on LAMP install?

I just upgraded to the latest Ubuntu release on a VPS. When it finished the permalinks no longer worked. My .htaccess file looks like: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$…
David Mackey
  • 677
  • 2
  • 13
  • 28
0
votes
5 answers

nginx wordpress permalinks day and name

hello everyone :) I am new to nginx and I am trying to setup the wordpress permalink structure that would normally be added to the .htaccess files. here is the old rewrite rule from .htacces # BEGIN WordPress RewriteEngine…
Chris Hough
  • 303
  • 2
  • 3
  • 20
0
votes
1 answer

WordPress pretty permalinks not working

I can't get WordPress pretty permalinks to work on my Fedora LAMP server. If I set them and click a page/post link I'll get a ""Oops! This link appears to be broken." The .htaccess file is writable and being updated, mod_rewrite module seems to…
Yarin
  • 1,316
  • 8
  • 19
  • 31
0
votes
1 answer

Apache: Rewrite rule to remove slashes from the permalink?

I've seen this previous question on ServerFault, and I want something similar, but I'm not sure how to accomplish it. What I want is to remove all slashes from the permalink except for the one that goes after the domain name. For…
javipas
  • 1,292
  • 3
  • 23
  • 38
0
votes
2 answers

WordPress permalinks not working, everything seems fine

I have a WordPress blog I've migrated from another CMS, and I've being having a lot of problems with my permalinks structure: lots of articles give a 404, although they are there, somewhere, published. The site is www.muycomputerpro.com (MCP for…
javipas
  • 1,292
  • 3
  • 23
  • 38
0
votes
2 answers

mod_rewrite for WordPress permalinks

My current .htaccess file looks like this (autogenerated by WP) $ cat .htaccess # BEGIN WordPress RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .…
Tom Auger
  • 331
  • 1
  • 5
  • 14
1
2