Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Other Search Engines


You are currently viewing our The Other Search Engines as a guest. Please register to participate.
Login



Reply
Old 09-09-2010, 06:26 AM URL Rewritting
Novice Talker

Posts: 5
Name: Amit Malik
Location: Delhi
Trades: 0
How to rewritte dynamic url and what is the step for doing this? is it done by .htaccess or some method of programming?
geneeindia is offline
Reply With Quote
View Public Profile Visit geneeindia's homepage!
 
 
Register now for full access!
Old 09-10-2010, 06:08 AM Re: URL Rewritting
Ultra Talker

Posts: 363
Name: Alex
Location: USA
Trades: 0
If you want to change the structure of your links you can do it by adding or editing codes in .htaccess file without need to change your php filee.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bestseo is offline
Reply With Quote
View Public Profile Visit bestseo's homepage!
 
Old 09-12-2010, 06:10 PM Re: URL Rewritting
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by geneeindia View Post
How to rewritte dynamic url and what is the step for doing this? is it done by .htaccess or some method of programming?
Yes and Yes.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-20-2010, 07:25 AM Re: URL Rewritting
Skilled Talker

Posts: 85
Trades: 0
You should write a code into .htaccess file for url rewriting.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
daisy192 is offline
Reply With Quote
View Public Profile
 
Old 09-22-2010, 06:48 AM Re: URL Rewritting
Average Talker

Posts: 14
Trades: 0
sure you can do..
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
james alies is offline
Reply With Quote
View Public Profile Visit james alies's homepage!
 
Old 09-28-2010, 12:59 AM Re: URL Rewritting
Banned

Posts: 34
Name: Alan Smith
Location: USA
Trades: 0
Yes that’s true. For rewriting the URL, you need to create .htaccess file in the root folder of your web directory. And have to put the following codes as your requirement.

Options +FollowSymlinks
RewriteEngine on
RewriteRule

Here RewriteRule will get changed according to your requirement.
alan123 is offline
Reply With Quote
View Public Profile Visit alan123's homepage!
 
Old 09-30-2010, 08:54 AM Re: URL Rewritting
openxcell's Avatar
Skilled Talker

Posts: 53
Name: Openxcell Inc
Location: India
Trades: 0
Quote:
How to rewritte dynamic url and what is the step for doing this? is it done by .htaccess or some method of programming?
If I am not wrong I think you are looking for converting a dynamic link to static. It depends of which platform the site is been build. There are tools available for almost each and every platform. .htacess is a file for redirection and not for converting dynamic to static link for entire website.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
openxcell is offline
Reply With Quote
View Public Profile Visit openxcell's homepage!
 
Old 10-15-2010, 07:31 AM Re: URL Rewritting
Super Talker

Posts: 102
Name: Asad
Trades: 0
What mean by dynamic url?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
newbie2010 is offline
Reply With Quote
View Public Profile
 
Old 10-18-2010, 01:28 AM Re: URL Rewritting
Average Talker

Posts: 29
Name: Siju George
Location: google it if you can
Trades: 0
I understand, it is .htaccess coding which rewrites URL. Can any one tell the basis of .htaccess coding. I read many guides and all seems very confusing.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

sijugk is offline
Reply With Quote
View Public Profile Visit sijugk's homepage!
 
Old 10-19-2010, 05:21 AM Re: URL Rewritting
Average Talker

Posts: 17
Name: John smith
Trades: 0
why do not you search in google for information?
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
goodboy2010 is offline
Reply With Quote
View Public Profile Visit goodboy2010's homepage!
 
Old 10-22-2010, 05:38 AM Re: URL Rewritting
Banned

Posts: 73
Name: Anil Kumar
Trades: 0
This is the right coding.The .htaccess coding will be different for different server.
Anil12 is offline
Reply With Quote
View Public Profile
 
Old 10-22-2010, 06:52 PM Re: URL Rewritting
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Can any one tell the basis of .htaccess coding.
Regular Expressions
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-24-2010, 01:50 PM Re: URL Rewritting
Extreme Talker

Posts: 219
Name: Tom
Trades: 0
How you implement the URL rewriting depends on what you're trying to do, what platform you're running on, what server-side scripting and CMS you might be using, whether you already have dynamic URLs "in the wild" that you want to now convert to search engine friendly URLs, etc.

It may very well be that Mod_Rewrite/.htaccess is NOT the best way to implement it. Yes it has robust URL rewriting capabilities... But if every page on your site is rendered via a CMS using for example an index.php in your root folder, you might want to modify index.php so that it does the URL rewriting for you.

When someone requests a SEF URL, the index.php could ask the CMS what id is associated with that SEF URL... and then URL rewrite the request to http://www.example.com/index.php?p=XXX where XXX is the id returned for the corresponding page. This is the way WordPress and other CMSs typically handle it.

To do this in Mod_Rewrite, you'll either have to maintail URL rewriting rules for every page in your system OR write an rewrite rule that uses a MapFile in HTML to lookup the corresponding ID for each SEF URL.

Also, if your dynamic URLs are already out their "in the wild", you'll need to implement 301 redirects.

For example, if you current use http://www.example.com/index.php?p=139 to refer to some page but you want it to be http://www.example.com/sef-page-name.html then you might implement something like the following in the .htaccess in the root folder of your web:

# if request /index.php?p=139 or /?p=139 then 301 redirect to /sef-page-name.html
RewriteCond $1 ^(index\.php)?$ [NC]
RewriteCond %{QUERY_STRING} ^p=139$
RewriteRule (.*) http://www.example.com/sef-page-name.html [R=301,L]

# if request is for the SEF URL URL rewrite to the dynamic
RewriteCond $1 ^sef-page-name.html$ [NC]
RewriteRule (.*) http://www.example.com/index.php?p=139 [L]

This way if someone requests the old dynamic URL directly, your server 301 redirects them to the corresponding new search engine friendly URL. When their browser makes the 2nd request this time for the search engine friendly URL, the server (in the same roundtrip) will display the page. The browser will still show the search engine friendly URL while behind the scenes the server is actually serving the page at /index.php?p=139.

Hope that helps.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Social-Media is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to URL Rewritting
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.00885 seconds with 12 queries