graham23s Posted June 26, 2011 Share Posted June 26, 2011 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 More sharing options...
cags Posted June 27, 2011 Share Posted June 27, 2011 Where are the files stored on your server, and where is the .htaccess file kept? Link to comment https://forums.phpfreaks.com/topic/240442-adding-blog-is-404/#findComment-1235246 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.