Question - How to do seo for php & asp dot net websites?

mor0155

Registered Member
Joined
Jan 7, 2014
Messages
84
Reaction score
7
One HR is Asked me, How to do seo for php websites?

I know All php websites are dynamic websites. i know differences of static & dynamic websites.

But, I'm not able to explain this..

So,plz any one can explain to me..
 
Last edited:
Exactly the same as you would for any other website. Why do you think it would make a difference?
 
Thankyou For Your Reply,

then how to get my PHP pages indexed on google and some other search engines.

PHP web pages takes more difficult time indexing pages with a query string in the URL.Because it have an id & parameters.

More Differences between Normal Html pages & PHP pages URL structures. Google first consider the HTML pages.
 
But some possibility is there to converting a dynamic web site to static using the Harp framework.Because, Harp is a lightweight web server with built in processors for multiple different languages (Markdown, Jade, EJS, LESS, Stylus, and CoffeeScript). It follows a simple convention that makes it easy to layout a simple web site. After installing you can get up and running in seconds.

My question is not to converting webpages.How to do seo for PHP webpages.Do make first page on google?
 
Last edited:
Thankyou For Your Reply,

then how to get my PHP pages indexed on google and some other search engines.

PHP web pages takes more difficult time indexing pages with a query string in the URL.Because it have an id & parameters.

More Differences between Normal Html pages & PHP pages URL structures. Google first consider the HTML pages.


You know that PHP generates the HTML code on the fly then serves it up to the browser the same as a static HTML page does, yeah?

Not all PHP URLs are a string with a query, read this: http://forum.codecall.net/topic/74170-clean-urls-with-php/
 
You will want to use url rewriting. With Apache, you would use the mod_rewrite module. http://httpd.apache.org/docs/current/mod/mod_rewrite.html
You'll need to create/modify your .htaccess with rewrite conditions, and rules for your urls.
Basically your end result would be a url like: example.com/making-money-online/ but with mod rewrite, you could pass the parameters to the script and it would be like example.com/index.php?page=making-money-online
Here is a guide that looks like it covers most of the basics http://www.branded3.com/blogs/htaccess-mod_rewrite-ultimate-guide/
The mod_rewrite guide I linked on apache is a good reference, I think the link is down temporarily.

Also, with dynamic sites, if you are rewriting like above etc, you will want to create a sitemap, or some other way of interlinking to those pages so that they get crawled/indexed.
 
You guys are not making sense really..

Wordpress is built with PHP.. so it really doesn't matter what language you are using.
Just use apache's mod rewrite or same thing with nginx or whatever you are using for your web server.
 
Back
Top