0
votes
1answer
83 views

How to make better RESTful links SEO on static content website with Apache and PHP Router

I have a pretty old website (running on Apache) that serves around 50 static HTML pages. And so I want to change it and add PHP Router to help me serve content in a RESTful way. Now I have tried ...
0
votes
2answers
245 views

Does it make sense to throw a 404 error with PHP?

Problem Description Hi, The current setting of my .htaccess file does not allow any kind of 404 (as far as I know). I mean, it captures every kind of url like mysite.com/asfasfasf then sends it to ...
2
votes
2answers
186 views

How to fix 404 crawl error of a website

I have a navigational links in a php page nav.php, Which is included in all pages of my website. I have got folder structure like below +top_folder -config.php +includes_folder ...
3
votes
2answers
160 views

How does duplicate file and directory names affects SEO

I have some 40 crawl errors in my website, those are pointing to files which are not existing. and I want to resolve all 404 errors I dont have acccess to .htaccess file. Because i am on shared ...
2
votes
1answer
92 views

Why are perfectly legitimate pages on my website registering in Google Webmasters as 404?

I have seen this question asked several times here, but never clearly answered. I suspect it has something to do with my .htaccess file: # BEGIN WordPress <IfModule mod_rewrite.c> ...
3
votes
1answer
2k views

How to do a cacheable redirection?

When users enter my website example.com, their "preferred" language is detected and they are redirected (using a 301 Moved Permanently redirection) to example.com/en/ (for English), example.com/it/ ...
4
votes
3answers
1k views

using .htaccess to redirect .asp to .php?

Ahoy all! I've been racking my brain with this one. I basically just converted all of my pages from ASP code to PHP code. Kept the same filenames. So, here is the htaccess code I have so far, but ...
0
votes
1answer
406 views

How do I 301 redirect from the root folder to a sub folder while keeping the rest of the URL string intact

When I first launched my site, it I had MediaWiki in the root and a wordpress blog in a subfolder, /blog/. After a while spammers took over the MediaWiki site and I had to remove it. The problem is I ...
1
vote
1answer
121 views

Links don't work on new server

I've recently moved from server with php4 to php5. Now I cant open content in my page. Links look like this "page.com/news-it-is-rainy-day-1.html". But when I try to open link I just get the archive ...