473,654 Members | 3,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SEO Friendly URL Rewirting

190 New Member
I am having a site http://bhoomiandbhavan.com/index.php ( under construction ) ,

I want to know that how can i write the SEO Friendly URL Rewriting code for listings ?
May 21 '10 #1
2 1477
dlite922
1,584 Recognized Expert Top Contributor
Search Engines are smart these days, you don't need friendly URL to search engines, you need friendly URLs to the user.

To search engines, these two are the same:

...com/viewproperty.ph p?id=123
...com/viewproperty/id/123

Just use dashes instead of underscores, avoid long query strings (e.g. from a form submission)

As far as the method to do it? the most popular one is Apache's (or your webservers) mod_rewrite function. If this site is hosted, your host may limit if you can do this or not.


Dan
May 21 '10 #2
Atli
5,058 Recognized Expert Expert
Yep, modern search engines actually prefer to have the original query string, rather than a rewritten URL. When you rewrite the URL, you are basically "hiding" information, and in some cases making it impossible for the crawler to figure out what the available information means.

For example, if you have this URL:
- http://example.com/article.php?id= 123
A search engine will be able to deduce the following:
  • This is a PHP page; dynamically generated content. (This may affect caching or re-crawl rates, or any number of other things.)
  • The current page is tagged with an "id" of "123". (Useful for obvious reasons.)

If you were to rewrite that into this:
- http://example.com/article/id/123/
You are basically:
  • Giving the false impression that this is a static page (meaning; not modified by query string parameters).
  • Hiding what the number "123" actually is. It would simply be considered a directory name; a sub-directory of the "id" directory, rather than a parameter linked to the "id" keyword.

It is best for the search engine (and thus your rating) if you just use the query string as it was meant to be used, rather than try to "trick" the search engine into thinking that a dynamic page is static. (Static pages rank no higher than dynamic once.)

However, you would be wise to limit the query parameters to two or three values, and try not to mix the order of the parameters to much. It's also best to use proper words, rather than single letters or illegible abbreviations. (Both search engines and users may be able to determine context based on keywords. Like, the parameter name "desc" would infer a description, where the letter "d" may not.)
May 22 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
2252
by: techy techno | last post by:
Hiii Hello.. I just wanted to know if anyone can tell me how can I give my website visitors the feature of "FRIENDLY PRINTING" through IE. I would definitely like to give a feature like this which is in the site below :
7
3049
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard error page displayed by IE (you know, the 'cannot find server or dns error' page). Turning off 'show friendly http error messages' alleviates this. (Unfortunately this is the Windows default setting!) Whats going on?!?!
1
2127
by: weiwei | last post by:
HI I am having a problem with print friendly function with asp, I have download some code regard with print friendly, it works fine with static html information, however, I have the dynamic pages and strange things is everything works except I cannt see the result of query from database. anyone has idea, please help me out, thanks in advance. below is the code I have, there are several pages of code and I have
4
1432
by: ST | last post by:
Hi, I'm implementing a printer friendly feature for all the pages on a web site. I'm separating the header, content, and footer into separate ascx files, which are contained in the main file. In the mail file I have a link button which, supposedly, when clicked on, passes the current content page's url and page title to the printer friendly page, which has a placeholder for the content page. I could do this with session variables, but...
1
2645
by: Matt_Matt | last post by:
My application has a blank freindly name in the windows firewall exception list when windows automatically registers it via user prompt that says: Do you want to keep blocking this program? The name and publisher data is displayed in the above dialog, but when choosing Unblock, the application has a blank name for its friendly name. The program that is being added to the firewall exception list is a .net
4
1944
by: Matt Mercer | last post by:
Hi, I have a asp .net/VB web app that does the typical submitting and retrieving from a SQL database. I am lost as to how I should create a print friendly page for the data. Here is the situation. The user is looking at a page with Text, asp .net controls, and buttons. I want the user to be able to hit a print friendly button and a new window will open, but this new window will have only plain text. Database fields -- and database...
2
1361
by: Ron | last post by:
Hello, I am working on a registration application for my companies intranet. The intranet is ASP classic based as of now. Unfortunately I only know ASP.NET. But that was all okay until I decided I wanted to have a 'printer friendly' class roster. In making it printer friendly, I would want to drop the intranet's standard Navigation and title bars. They allow me to do this by refering to a .asp file as .nfa from the link. However this...
2
1274
by: Sandy | last post by:
Hello - I tried to google this, but got back every page on the whole entire web that has printer friendly versions . . . I have a panel containing text from a repeater that also contains text in a multi-line textbox. How do I create a printer friendly version for this? Any help you can give me will be greatly appreciated -- or if you know exactly where to go on the web to obtain this info, please include the link.
1
1674
by: Dave Rado | last post by:
Hi A while ago I discovered a way of creating css pseudo-frames, that offer users the important benefits of real frames (i.e. the navigation remains visible when you scroll down the page), but without most of the drawbacks (in particular, unlike real frames, this method is bookmarks-friendly and search engine-friendly). However, the method still has sufficient drawbacks from an accessibility point of view that I have been planning to...
15
2147
by: Prisoner at War | last post by:
Okay, I'd like to create a print-friendly website, so I've been reading up on how to create print-friendly pages (without duplicating my site, of course, by having separate versions of each page).... Apparently one can use JavaScript or CSS for this.... Using CSS, it seems that the "trick" is to use * media="print" * in the <linktag.... So if I have a hyperlink to a print-friendly page...um, well, what's
0
8376
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8708
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8489
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8594
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2716
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.