Jump to content

Adding blog is 404


graham23s

Recommended Posts

Hi Guys,

 

For some reason i'm having a hard time getting .htaccess code through the old noggin lol i added a blog (wordpress) to one of my sites, when i goto view it at www.site.com/blog/ it shows up as 404

 

the .htaccess code is:

 

RewriteEngine on
Options +FollowSymLinks
RewriteCond %{SCRIPT_FILENAME} !-f 
RewriteRule ^[^/]+-([0-9]+)\.html$ product.php?id=$1 [QSA,L]
RewriteCond %{SCRIPT_FILENAME} !-f 
RewriteRule ^([0-9]+)-[^/]+\.html$ category.php?cat-id=$1 [QSA,L]

 

That is just really so the categories are formatted neater, i'm struggling to see why the above code would stop the blog being shown.

 

any help would be appreciated guys!

 

cheers

 

Graham

Link to comment
https://forums.phpfreaks.com/topic/240442-adding-blog-is-404/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.