SEO 1 Links

  SEO Blog
  SEO Forum

  Active Topics
  Register
  Memberlist
  FAQ
  Search




SEO Forums

  SEO Forum
  SEM Forum

  Directories
  Link Networks
  Mod Rewrite
  Content
  Revenue Networks

  Marketing
  Social Bookmarking
  Webmastering

  Google
  Yahoo
  MSN

  Search
  Engines

  Link Exchange



Welcome

Time Now:
Tue Nov 21, 2017 6:06 pm

All times are GMT

Log in

Username:

Password:

 





 





Who is Online



Most users ever online in a day was 2917 on Thu Oct 25, 2007 4:43 pm
 



Member Websites

Free Sitewide Links
For Top Members





SEO 1 Forums > Mod Rewrite >

help with mod-rewirte



Author Thread
gazalis
New Member


Joined: 04 Aug 2005
Good Posts: 4

help with mod-rewirte  Reply with quote  

Hi guys i've been reading and trying to figure out i can turn dynamic url to static but with no luck.

here's my trouble i would like to change this

bulletin/news.php?action=fullnews&id=1

i'm using this but it doesn't work

RewriteEngine On
RewriteBase /
RewriteRule ^news-(.*).html$ bulletin/news.php?action=fullnews&id=$1


cheers
Alan
Post Thu Aug 04, 2005 6:10 am
 View user's profile Send private message Visit poster's website
Andrew
Senior Member


Joined: 21 Feb 2005
Good Posts: 997
Location: apache/domlogs
 Reply with quote  

Hi Alan, welcome to SEO 1.

Your's looks just like one I was trying to get working.

I finally found the trick that I needed to make it work, maybe it will work for you...

http://www.seo1.net/thread1557.html
Post Thu Aug 04, 2005 8:03 pm
 View user's profile Send private message Visit poster's website
gazalis
New Member


Joined: 04 Aug 2005
Good Posts: 4

 Reply with quote  

Hi Andrew,

Thanks for your reply. The mod rewrite works if i refer to somthing like
http://www.mysite.com/bulletin/news.php

however i'm using a headline script on all the pages the mod rewrite doesn't work

I hope this make sense.

Thanks
Alan
Post Fri Aug 05, 2005 12:53 am
 View user's profile Send private message Visit poster's website
Andrew
Senior Member


Joined: 21 Feb 2005
Good Posts: 997
Location: apache/domlogs
 Reply with quote  

Just guessing, but see if either of these help...

RewriteRule ^news-(.*).html$ /bulletin/news.php?action=fullnews&id=$1
RewriteRule ^news-(.*).html$ /bulletin/news.php?action=fullnews&id=$1 [T=application/x-httpd-cgi]

BTW, are you getting a 404 or what when you try?
Post Fri Aug 05, 2005 1:02 am
 View user's profile Send private message Visit poster's website
gazalis
New Member


Joined: 04 Aug 2005
Good Posts: 4

 Reply with quote  

Hi andrew, thanks for your reply. It still doesn't work and i'm not getting any errors at all. Do i have to edit healine.php?

Cheers
Alan
Post Sat Aug 06, 2005 10:53 am
 View user's profile Send private message Visit poster's website
paul.martin
Preferred Member


Joined: 03 Sep 2006
Good Posts: 132

 Reply with quote  

hi gazalis
Try the rule
RewriteRule ^news-(.*)\.html$ bulletin/news.php?action=fullnews&id=$1 [L,NE]

and then point your browser to http://www.yousite.com/news-123.html
this would be the same as pointing it to http://www.yousite.com/bulletin/news.php?action=fullnews&id=123

btw, [L,NE] means Last and No Escape

Paul


Small Business Directory - Submit your business
SEO Friendly Directory
- Including SEO tools and tips
Post Sun Sep 03, 2006 2:48 pm
 View user's profile Send private message Visit poster's website
whereingreece
New Member


Joined: 27 Aug 2010
Good Posts: 2

 Reply with quote  

Welcome to all of you. your commnets are good


Hi, I'm new to SEO 1.
Post Wed Oct 13, 2010 7:40 am
 View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Corporate Gift Ideas
Full Member


Joined: 11 Nov 2010
Good Posts: 91

 Reply with quote  

A URL that results from the search of a database-driven Web site or the URL of a Web site that runs a script. In contrast to static URLs, in which the contents of the Web page do not change unless the changes are coded into the HTML, dynamic URLs are generated from specific queries to a site's database. The page is merely a template to display the results of the query. Most of the content comes from the database that is associated with the site. Instead of changing information in the HTML code, the data is changed in the database.All of us think the static one is better than the dynamic URL. And spiders love it more than dynamic.


corporate gift ideas
Post Thu Dec 23, 2010 5:50 am
 View user's profile Send private message Visit poster's website
richarddonald78
Contributing Member


Joined: 16 Feb 2011
Good Posts: 25

 Reply with quote  

Most of the knowledge comes from the database that is related with the place. Instead of dynamic accumulation in the HTML write, the data is denatured in the database.All of us opine the noise one is wagerer than the kinetic URL. And spiders copulate it many than energetic.


RC Helicopters | lipo | Toll Free
Post Thu Apr 07, 2011 6:20 pm
 View user's profile Send private message

Reply to topic
Jump to:  
Display posts from previous:      






SEO 1 © 2005-2015 - SEO 1 the SEO Forum