|
ilikeitraw
|
 |
« Reply #15 on: December 29, 2003, 11:28:23 PM » |
|
i'll quietly take a step back and wish i didn't post the above... i have everything worked out now excellent thread !
|
|
|
|
|
Logged
|
|
|
|
Danielle
Resident Alien
Administrator
Berserker Poster
   
Offline
Posts: 8835
nihil sunt omnia
|
 |
« Reply #16 on: December 30, 2003, 12:23:56 AM » |
|
Hi ilikeitraw,
What were you doing that was causing it not to work? If you post your solution, it might help others who might do the same thing.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
ilikeitraw
|
 |
« Reply #17 on: December 30, 2003, 09:44:36 PM » |
|
hey miranda ! i unfortunately deleted the files i was working on when testing this .htaccess setup, so don't know or remember the specifics  i believe the way i was testing was wrong... ie: requesting the wrong URL thanks for the note, and i'll definitely remember to post fixes i find that could help in the future. thanks again ! (and happy new years !!) 
|
|
|
|
|
Logged
|
|
|
|
Danielle
Resident Alien
Administrator
Berserker Poster
   
Offline
Posts: 8835
nihil sunt omnia
|
 |
« Reply #18 on: December 30, 2003, 09:45:36 PM » |
|
Sure, no problem. Glad you got it fixed anyway. 
|
|
|
|
|
Logged
|
|
|
|
frodo
Newbie
Offline
Posts: 4
|
 |
« Reply #19 on: January 02, 2004, 11:30:41 AM » |
|
Hi, I'm want to use url rewriting on my website but was running into some problems. I was wondering if anyone can give me some pointers on what I might be doing wrong. Basically I want to turn this url: http://www.mydomain.com/foo/bar.htmlinto: http://www.mydomain.com/test.php?type=foo&id=barMy .htaccess file looks like this: RewriteEngine On RewriteRule ^([^/]+)/([^/]+\.html)$ test2.php?type=$1&id=$2 I get a 404 error that says the url (/foo/bar.html) was not found. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
cp
|
 |
« Reply #20 on: January 03, 2004, 03:16:33 AM » |
|
I was also believing that Google doesn't see dynamic pages, and thought to try the rewriting method, but now I see in my log that google found a page (a list of publications) based on a mysql/php search, and the google search was using a word that comes from a query on the database (in a publication title) . If I look at the google cached page it is the same page as the one generated dynamically (apart from styles). Is it because my site has a static index and site map? I remember somebody saying that this is the trick.
|
|
|
|
|
Logged
|
|
|
|
|
Ed
|
 |
« Reply #21 on: January 30, 2004, 09:18:10 AM » |
|
Have a static index does help. Google indexes urls with ?'s in them but &'s etc can throw it off, and it will only ever go one page deep into that (it wont index anything off of the dynamic pages). One simple reason is the fact that some servers cannot take the traffic an engine like google would hit it with while indexing, so rather than risk taking out servers, they choose only to index 1 page deep from a link on a STATIC page.
If google can't tell its dynamic.. then your in luck!
- Ed
|
|
|
|
|
Logged
|
|
|
|
|
808smokey
|
 |
« Reply #22 on: May 16, 2004, 10:11:14 PM » |
|
just stay away from session IDs and you should be fine. How do you do that??
|
|
|
|
|
Logged
|
|
|
|
|
sv800
|
 |
« Reply #23 on: September 25, 2004, 04:41:34 PM » |
|
Hi All, you can convert the dynamic pages using this module: http://www.webmaster-toolkit.com/mod_rewrite-rewriterule-generator.shtmlThe mod_rewrite rule generator will take a dynamicurl and generate the correct syntax to place in a .htaccess file to allow the url to be rewritten in a spiderable format. The apache module mod_rewrite converts urls in a certain format to another format, and can be very useful in helping a site with dynamic content to be indexed. For more information on mod_rewrite, visit the apache documentation site. Your Dynamic URL: Style of Rewriting: Directory (eg. http://www.domain.com/scriptname/fieldname/data/) Page (eg. http://www.domain.com/yourpage1-3-t58.htm) I tried the tool but I still have not updated the suggested code in my .htaccess. Anyway, maybe it helps you with the mess...pheeeeuw...
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
|
adamspt2
|
 |
« Reply #26 on: July 11, 2005, 05:41:13 AM » |
|
Agh! I'm completely lost! I tried the auto code generator and this is where I am. Current URL: http://www.ukhoopsfans.com/forums/index.php?topic=891.0The code it came up with is Options +FollowSymLinks RewriteEngine on RewriteRule index/(.*)/(.*)/$ /forums/index.php?$1=$2 But I don't see any rewriting going on as I browse my board. I can't claim to 'get' this, so any help is appreciated.
|
|
|
|
|
Logged
|
|
|
|
|
Shadowhawk70
|
 |
« Reply #27 on: July 22, 2005, 11:34:09 AM » |
|
What you guys are talking about is pretty cool but why not take a more aggressive approach to the problem? Submit a sitemap to google ( https://www.google.com/webmasters/sitemaps/docs/en/about.html). If you wrote the site in PHP, you should be able to dynamically generate a sitemap also. I create one using a seperate page which creates the .xml files. Once the files are created, submit the map to google and let them access your pages based on your submission. It seems to work pretty well. If you search the web, you will also find spiders and PHP code that others have used to generate sitemaps also. Shantul.
|
|
|
|
|
Logged
|
Stop Software Piracy, Use OpenSource Software.
|
|
|
dynamicgeek
Newbie
Offline
Posts: 1
|
 |
« Reply #28 on: February 22, 2006, 08:23:26 PM » |
|
I uploaded a sitemap to google and created it by hand according to what they wanted (to the best of my understanding. However, I have been indexed for over 6 months and the info my query comes up with is still over 4 months old. I've not tried the rewriting but it sounds like something I may need to look into inorder to recieve a better indexing. Any thoughts? below is a sample of how I submitted (and has been verified by google) my sitemap.xml <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.google.com/schemas/sitemap/0.84"> <url> <loc>http://www.dynamicgeeks.com/</loc> <lastmod>2006-01-12</lastmod> <changefreq>monthly</changefreq> <priority>0.5</priority> </url> <url> <loc>http://www.dynamicgeeks.com/movies.php?category=all</loc> <changefreq>weakly</changefreq> <priority>0.9</priority> </url> <url> <loc>http://www.dynamicgeeks.com/movies.php?category=all&count=10</loc> <changefreq>weakly</changefreq> <priority>0.9</priority> </url> <url> <loc>http://www.dynamicgeeks.com/movies.php?category=all&count=20</loc> <changefreq>weakly</changefreq> <priority>0.9</priority> </url> <url> <loc>http://www.dynamicgeeks.com/movies.php?category=all&count=30</loc> <changefreq>weakly</changefreq> <priority>0.9</priority> </url> <url> <loc>http://www.dynamicgeeks.com/movies.php?category=all&count=40</loc> <changefreq>weakly</changefreq> <priority>0.9</priority> </url> just a sample, hope someone can help. and also, does google prefer directory rewrites or page? thanks, Vince www.dynamicgeeks.com
|
|
|
|
|
Logged
|
|
|
|
|
starke
|
 |
« Reply #29 on: August 12, 2006, 12:23:17 PM » |
|
I've noticed that the google robot seems to react to:
<META NAME="revisit-after" CONTENT="21 days">
I originally had it set for 5 days, from an earlier template, and noticed... google would spider very frequently with a short setting.
Another idea, may seem a little silly... but, since I've been really changing my site format, I notice that I'm frequently spidered after I upload a major update to my pages. Try changing your pages by adding a space or something to all of your pages after </html>, resave and upload your site...
|
|
|
|
|
Logged
|
|
|
|
|