3
Contributors
4
Replies
18
Views
4 Years
Discussion Span
Last Post by LastMitch
0

how to fix the crawl errors

The question you ask is more related to PHP section because you are using RE-mod on the htaccess file.

This is very simple relink those old two php file to the new ones (if there is no new one then relink to the new category in your website):

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^products.php\.php$ "http\:\/\/www\.asdasdasd\.com\/products\.php" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^portfolio9.php\.php$ "http\:\/\/www\.asdasdasd\.com\/portfolio9\.php" [R=301,L]

By doing that it will remove 404 error page and redirect to the new page.

You also need to relink your whole directary so things can go faster:

Redirect /path/public_html/ http://www.asdasdasd.com 

Edited by LastMitch: grammer

0

but i still have a doubt, how to relink

You shouldn't used word doubt because you don't know.

There's a big difference between doubt and not knowing.

http://www.asdasdasd.com/portfolio/ 

What is portfolio?

Is it a page or a folder?

If it's a file is it: php or html?

Try this:

RewriteRule ^portfolio$ /portfolio9.php [L]
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.