Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Blogs and Blogging (http://www.greenguysboard.com/board/forumdisplay.php?f=8)
-   -   mod_rewrite malfunction (http://www.greenguysboard.com/board/showthread.php?t=62483)

housekeeper 2011-07-26 03:14 PM

mod_rewrite malfunction
 
I've set up two new WP scripts lately and have experienced problems with the permalink structure. When changing to custom permalink structure then adding the .htaccess file, the links are titled correctly but the pages are 404.

I've never experienced this before, always set it up the same way on all my blogs with no problems. Not certain what the cause could be, anyone have this experience with the new WP installs?

Any help would be appreciated...grazi

cd34 2011-07-26 04:47 PM

The Default .htaccess should include the following which sounds like it is missing if your permalink structure is correctly set and you're getting 404s.

Code:

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


# END WordPress


housekeeper 2011-07-27 03:05 PM

Thanks for the reply cd34, that's what odd, I have the correct .htaccess file installed. Any chance the encoding setting or the file would make a differenc? Could be something in the new version of WP?

cd34 2011-07-27 03:39 PM

put in an .htaccess

Code:

RewriteEngine on
If that breaks, you probably don't have mod_rewrite enabled. The default wordpress doesn't execute if mod_rewrite isn't installed - which would explain your 404s.

housekeeper 2011-07-29 02:39 PM

Thanks for your help cd34, that gives me something to look at, both blogs are on the same IP


All times are GMT -4. The time now is 05:17 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc