LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2011, 10:05 PM   #1
Arty Ziff
Member
 
Registered: May 2008
Location: Tacoma, WA
Distribution: CentOS and RHEL
Posts: 124

Rep: Reputation: 15
WordPress Permalink Question


I changed the link style of permalinks from the default:

http://MySite.com/?p=123

To something I feel is more friendly:

http://MySite.com/2011/10/01/sample-post/

And saved the new settings...

Testing it out, I found that links now showed the new format, but when followed go to "Page Not Found".

Now, I was thinking perhaps WordPress couldn't write the changes to .htaccess (I'm thinking mod_rewrite) and so the the new links where not being translated by Apache.

So, I changed the file permission (just for testing) to 777 and tried again, resaving the new settings and navigating to the page.

Still "Page Not Found".

Any WordPress gurus out there know what I'm doing wrong? I'm sure it's obvious...

Thanks,

Arty Zifferini
 
Old 10-03-2011, 02:54 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Using just 600 for .htaccess is enough (of course the file must be owned by the user that runs apache)
Just check the .htaccess in the root of your wordpress installation and see if it has something like:
Quote:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Also make sure you have enabled mod_rewrite. Running
Code:
httpd -M
should show you if mod_rewrite is loaded

Regards
 
Old 10-03-2011, 11:02 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
The WordPress Codex is usually a good pleace to start when dealing with WordPress problems. In this case: http://codex.wordpress.org/Using_Permalinks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
simple wordpress administration question methodtwo Linux - Server 3 02-08-2011 04:44 AM
wordpress aarsh Linux - Newbie 5 01-03-2011 09:20 AM
LXer: How To Switch Permalink Structure In WordPress Under Ubuntu LXer Syndicated Linux News 0 02-17-2010 09:50 AM
GNU GPL question about wordpress theme titanium_geek Linux - General 3 01-27-2009 05:03 PM
permalink module yosi.oka Linux - Software 0 04-04-2007 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration