I changed my site from HTML to PHP and I need to get some help.
-
Ok...so the other day I went from HTML to PHP in every part of my website. I want to know the best option for me for redirecting my pages from HTML to php. I had my site scanned with SEOMoz and I was given many 404 errors which is not at all good.
I do not have any pages of my site linking to any of these html pages. All of the site links have been updated. I have checked 3 times.
I have never created a robots.txt file so I would love to get a little help with this part.
I was thinking it would be best to tell Google not to worry about these pages in the file.
I kept the pages up and I plan to remove all code with them so that no content shows up if someone visits but the issue with that is my site is already indexed as HTML.
I want to have the HTML pages redirect to the PHP without worrying that my visitors will land on my site via Google onto an HTML page.
I hope I am making sense.
What is the best advice you can give me. I need all pages to redirect to PHP.
I used an htaccess redirect from all HTML to PHP but when I get so many of them added I get an error on my site saying too many redirects.
Seriously need help.
-
I did that. I changed all my pages to php but my site is indexed in Google for HTML which when they land is not showing anymore because I deleted the .html files.
I need to know the right way to make google index my php pages in replace of the html.
I do not want to get penalized for dup content being that there is a about.php and about.html.
They both have the same content. I also do not want google to think the pages are gone and penalize me for missing or uncrawlable pages.
-
Why are you redirecting .html to .php why dont you just permanently change the endings of the pages to .php?
-
Will the SEOMoz.com team please answer this question. It is sort of important.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Site Wide Links
Howdy Moz! So our agency has been around for long enough to have a few sites we've built that have our credit in their footer resulting in a site wide link. Mostly just our name. We've heard that Google does not particularly like site wide links, should we go through and remove some of these old links?
On-Page Optimization | | wearehappymedia0 -
MOZ Pro Has Not Helped Yet. What is Going On?
A month ago I started using MOZ and I improved my website significantly. I reduced the Crawl Issues to few of them, improved the sitemap, url, etc. Unfortunately, my organic search has not improved at all. At the same time one of my competitors has the same Domain Authority, near the same Page Authorizaty, relatively similar social media performance, slightly higher backlinks, same blog content, etc. BUT, they are better ranked by Alexa.com, Similarweb.com and appear on google in top 10 for many of the keywords I am not even in top50. What am I doing wrong?
On-Page Optimization | | Threeding.com0 -
Tips for Getting a Very Small Site to Rank
I am working on a very small (two page) site for a client, and trying to rank for some very competitive local terms. The site is www.arlingtonbuilders.com, and our terms center around local cities (like Arlington) plus "custom homes," "custom renovations," etc. I feel very limited in terms of what I can do on the site, and I'm building citations offsite, but I feel stuck. I'd love some tips for helping them rank better without building out an entire site.
On-Page Optimization | | ScottImageWorks3 -
Can someone help with Canonical?
I have a wordpress site that On-Page Grader is saying I don't have Canonical done correctly. Here is the comment. Appropriate Use of Rel Canonical If the canonical tag is pointing to a different URL, engines will not count this page as the reference resource and thus, it won't have an opportunity to rank. Make sure you're targeting the right page (if this isn't it, you can reset the target above) and then change the canonical tag to reference that URL. Recommendation: We check to make sure that IF you use canonical URL tags, it points to the right page. If the canonical tag points to a different URL, engines will not count this page as the reference resource and thus, it won't have an opportunity to rank. If you've not made this page the rel=canonical target, change the reference to this URL. NOTE: For pages not employing canonical URL tags, this factor does not apply. I have quite a few sites and have never had an issue with this. Can anyone help? I tried installing a plugin but that seems to have made it worse. This is the front page of the site btw.
On-Page Optimization | | jonnyholt1 -
SEO and multilanguage site
Hi all! I have used a wordpress plugin called WPML which translates a webpage into another language so that I have a webpage in two different languages (spanish (main market) and english). I'm just doing the seo for the spanish market and I'm gonna start with the seo for the english one. Should I do it just the same as I had a one-single-language page? just with english keywords, etc. I guessit would only differ in the way I do the linkbuilding strategy as the markets are different Thanks
On-Page Optimization | | juanmiguelcr0 -
"irrelevant pages of a site"
Hi there! Some pages of my site like "contact" or "registration": Should they have a title and a description tag? They are pages that I don't want them to be shown in the SERPs....Could I be penalized by google If I don't do so? The SEOMOZ crawling tool warms me about this issue (to short titles, no meta-description tags....) Many thanks
On-Page Optimization | | juanmiguelcr0 -
Help Please! - Anchor Text in the Menu
Hi everyone, I am a SEOMOZ newbie and I have been learning about SEO for a while now whilst working on my site - lockcity.co.uk - I already understood the importance of anchor text but was amazed to learn how google only count the anchor text used in the first link (http://www.seomoz.org/learn-seo/anchor-text). My questions are - does this rule still apply? and if so do the menus really count as the first link? If I went on this approach, this would make my menus too long for e.g. on my 'Auto Locksmith' page, my targetted keywords are 'Auto Locksmith' but also the town keywords need to be included. I really thought I had this covered on the home page by making sure the anchor text and alt text were keyword relevant to the link, but looks like Ive been missing out on an opportunity. Our business is slightly complicated in that the 25 mile radius we cover includes 4 different regions - therefore I feel like I always have to get these keywords in as well to make sure we get traffic from our area. Thanks for any advice you can give!
On-Page Optimization | | LockCity0 -
Why does Google no longer like our site?
Hey guys, I'm trying to figure out why the traffic and rankings have been plummeting on www.readprint.com. It's a collection of both public domain books and books on Amazon's store. If anyone can offer any pointers as to if it's duplicate content or ??? It used to get 300K visits/mo but has slowly been dropping over the last year. I appreciate anyone's expertise!
On-Page Optimization | | CoBraJones0