473,386 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Shorten url strings in ASP?

I am not a developer but my site has long URL strings that have
problem getting crawled. I understand Google now will crawl past the +
but does not like the long strings. I tried URL rewrite and it did not
work for me. Seem like there would be command in the asp to tell ti
to shorten the string here is one of mine.
http://www.landincorporated.com/Prev...6-367fa393e125
at http:// www.landincorporated.com

Why cannot it not be generated by asp to like
http://www.landincorporated.com/Prev...x?pID=81e23cf6. That is a
long enough variable to remove any chance repeat URL. Can me
developer change my code to shorten the generated URLs string to say
10 characters?
Jul 17 '08 #1
1 3505

"treeguy" <SC********@gmail.comwrote in message
news:bc**********************************@34g2000h sh.googlegroups.com...
>I am not a developer but my site has long URL strings that have
problem getting crawled. I understand Google now will crawl past the +
but does not like the long strings. I tried URL rewrite and it did not
work for me. Seem like there would be command in the asp to tell ti
to shorten the string here is one of mine.
http://www.landincorporated.com/Prev...6-367fa393e125
at http:// www.landincorporated.com

Why cannot it not be generated by asp to like
http://www.landincorporated.com/Prev...x?pID=81e23cf6. That is a
long enough variable to remove any chance repeat URL. Can me
developer change my code to shorten the generated URLs string to say
10 characters?
ASP has nothing to do with your site. It's written in ASP.NET which is
totally different (although there was no way for you to know that). The
string of letters and numbers in your URL is a reference code to individual
items in the database. That was set by the original developers, and can
probably only be changed by them. However, I suspect that the real problem
behind your lack of success in getting indexed is the fact that search
engines can't peform searches - which is the only real way to access
property details on your site. And even if they could search, the
developers have used the default paging that comes with the control in which
the properties are listed in search results pages. It generates paging
links in clientside javascript which search engine bots can't activate, so
they don't follow the links. Again, that's something that the developers
need to address on your behalf. You may also want to consider investing in
the services of a Search Engine Marketing company. You already have the
benefit of the extent of my kowledge on these things.

Google (as far as I know) has no problem with long strings in urls. It
prefers not to bother with multiple parameters in querystrings, but you only
have one in yours: pID.

--
Mike Brind
MVP - ASP/ASP.NET
Jul 17 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Francois | last post by:
Hi, This is probably a very easy question...but I just don't know the answer... I want to shorten this script: document.formulier.form_o_stoel1.checked = false;...
4
by: B.J. | last post by:
Hi, Is there any way how I can shorten following code ? try {...} catch(FormatException) {SAME CODE IN ALL CATCH BLOCKS} catch(OverflowException) {SAME CODE IN ALL CATCH BLOCKS} E.g. to...
15
by: Benjamin Rutt | last post by:
Are there any C tools that can find redundant #includes in a project, so as to shorten compile time? Of course, eliminating single #includes by hand and determining if the recompile fails is one...
8
by: ben | last post by:
i have a bit of code, that works absolutely fine as is, but seems over complicated/long winded. is there anyway to shorten/simplify it? the code is below. description of it: it's like strcpy in...
24
by: John Smith | last post by:
I want to shorten a string by replacing the last character by '\0'. The following code displays the string. It works fine. It's in a loop and different strings are displayed without problems....
1
by: Web Response Time | last post by:
I found a surprising problem. I sent a zero length's request in my asp.net program to another asp.net program on the local machine. until I received the zero length's response data, it only took...
3
by: UKuser | last post by:
Hi, Is there a way to shorten this line if ((ereg(".jpg",$filename))||(ereg(".eps",$filename))||(ereg(".tif", $filename))||(ereg(".tiff",$filename))||(ereg(".jpeg",$filename))||...
5
by: Dean | last post by:
Hi, I have a table with non-unique identifiers. I need to take all the values with the same ID's and combine them into one field with a semicolon as a seperator. These values may exceed 255...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.