|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi,
Hope someone can help me achieve the following. I have my dynamically generated pages using php - for example: dvd-and-media.com/cartridges_purchase.php?Model=HP+Photo+Smart+P1115 And then I have written a piece of code to get the following, basically it replaces the 'cartridges_purchase.php?Model=' with 'Inkjet-Cartridges-' then it replaces the '+' signs in the rest of the URL with '-' and adds a html extension - so I then end up with the following URL dvd-and-media.com/Inkjet-Cartridges-HP-Photo-Smart-P1115.html However what I need to do is have google find the .html pages instead of the php ones and serve up the html ones when the users click though to my ink products. I presume I need some sort of mod rewrite and some adjustment to my robots file - help please!
__________________
http://www.dvd-and-media.com/ Largest suppliers of DVD cases in the UK http://www.talkangling.co.uk/ Busiest fishing tackle and angling chat site in the UK |
|
|||
|
have u seen the google crawler code? why are u so sure about this?
__________________
expired domains database - browse old domains by back links, delicious bookmarks, google pagerank and ... . This database is free and don't require any member account. |
|
|||
|
It sounds like you just need to setup the Mod_rewrite rules using .htaccess. Unfortunately, you'll need to use Regular Expressions to code the actual rewrites and this is Greek to me.
Be sure that in the rewrite directives that the dynamic URLs are 301'd to the .html versions and Google will index the .html pages without any problem. |
|
||||
|
Incredible, I am not just changing the extensions of the pages I am rewriting the name of the page so that it is product specific.
How do I write a rule to 301 from the dynamtic page to the static ones bearing in mind I am changing the characters and replacing bits and bobs.. help please.
__________________
http://www.dvd-and-media.com/ Largest suppliers of DVD cases in the UK http://www.talkangling.co.uk/ Busiest fishing tackle and angling chat site in the UK |
|
|||
|
Here's a good resource: 301 Redirect - 301 Permanent Redirect by Brian V. Bonini
Basically, after you create your Regular Expression to rewrite the dynamic URL as a static one (w/ the keywords in it), you append [R=301,L] to the end of it. |
|
||||
|
Quote:
You do not need to know the 'google crawler code to prove this theory. Just do a search and glance through the different filetypes that come up in the results. You might be surprised. |
|
|||
|
there are hundreds things that matter for seo and there are no way to be sure of anything. This that google search for system, don't show system.com in first 100 results do not prove that having keyword.com domain doesnt help etc.
__________________
expired domains database - browse old domains by back links, delicious bookmarks, google pagerank and ... . This database is free and don't require any member account. |
|
||||
|
To me it sounds as though he is trying to get rid of the URL parameters to clean it up for SEO purposes, rather than changing the names just to change them for the SEO aspect.
It is similar to wordpress - you can have it setup site.com/posts/post-title-goes-here instead of site.com/page.php?postid=184&this&that And that is controlled use ModRewrite with apache if you are on a linux based box, and I have not a clue what the windows equivalent is for a url rewrite. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirect old url for search engine purposes. | zapiy | IT Discussion Forum | 4 | 04-22-2008 11:25 AM |
| Just how useful are Social Bookmark Sites for SEO Purposes? | gky45 | Search Engine Optimization Forum | 42 | 07-20-2007 01:48 PM |
| URL Rewrite? ID=1.html or .html?ID=1 will it matter? | TransferTown | Google Discussion Forum | 3 | 12-29-2006 04:17 PM |
| rss + blog for seo purposes - what's the big deal? | ymid | Search Engine Optimization Forum | 13 | 06-30-2006 02:55 PM |
| For SEO purposes, is there a difference between ..... | tiger1 | Search Engine Optimization Forum | 2 | 07-13-2004 11:26 AM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |