Configuration :: URL Rewriting And Google Indexing?

Jun 20, 2010

I have implemented URL rewriting and I would like someone to answer if my new URLs will be indexed by google or not.

BACKGROUND:

I have many databound linkbutton which redirects to URL like: www.example.com/product.aspx?PLU=4985783028

What I intended to do is to make above URL look like www.example.com/MY-Nice-Product1-For-Sale-4985783028.xyz . Whuich internally should rewritten as above. I could have easily implemented such URL rewriting but all my databound link button redirects to

/product.aspx?PLU=4985783028 and when this the page at this URL is served to browser it will look like
/product.aspx?PLU=4985783028 and not /MY-Nice-Product1-For-Sale-4985783028.xyz

WHAT I DID:So I implemented my own method of Rewrite. Steps for which I did is as follows

1. I wrote code inside Global.asax in Application_BeginRequest event.

2. I checked for URL if its product.aspx or not (using fullOrigionalpath.Contains)

3. If its product.aspx I would takeout the "PLU" Query parameter and by string manipulation and then call a function to determine product name from the unique ID ("PLU").

4. And then I would redirect the page to "/productname-PLU.xyz" (e.g. here productname is
"MY-Nice-Product1-For-Sale" . AND PLU is "4985783028" so that is redirects to "/MY-Nice-Product1-For-Sale-4985783028.xyz")

5. Once redirected, again, "Application_BeginRequest" event will be called. and there I would check if URL contains. ".xyz" extension.

6. If so, I would takeout PLU by string manipulation and then rewrite URL to right URL which looks like
"/product.aspx?PLU=4985783028"

7. Then after user will see "/MY-Nice-Product1-For-Sale-4985783028.xyz"
on their browser addressbar

This is how I achieved my goal so that all old URL redirects works too and all new URL works too and in both case user will see new URL.

Following is the code

[Code]....
So finally the question is "Will my new URL be indexed by Gooogle?" because the basic intention of doing this was to help with SEO .

View 10 Replies


Similar Messages:

C# - URL Indexing In Google

Feb 23, 2011

I want to check that a specific url is indexed in google using asp.net.Is google provide any api, webmethod anything regarding this.

View 2 Replies

Search Engine - Deny Google Indexing?

Mar 23, 2011

Is there a way to prevent search engines from indexing a site by modifying the ASP.NET Web.config file?

View 2 Replies

Web Forms :: Url ReWriting Line Http://translate.google.com/?hl=en?

May 28, 2010

how i can rewrite url like this?translate.google.com/?hl=en

with out .aspx(or php)and with ?

like rewrite url www.mydomain.com/showcontent.aspx/pageid=1

www.mydomain.com/page/1 or like this

View 2 Replies

Configuration :: Subdomain With URL Rewriting And DNS Configuration?

Dec 28, 2010

We need to create dynamic subdomains in my asp.net/c# web application.

1.can i implement that using URL Rewriting and without DNS configuration?

2.How to create Subdomain with DNS configuration with remote cnnection?

Server Environment :
windows server 2003
IIS 6.0
Dot Net Framework 4.0

View 2 Replies

Url Rewriting With Is There A Configuration Needed?

Aug 30, 2010

I'm trying to enable rewrited urls in my project.it's very good described in this post: urlrewriting by scottgu It works very well when im running it on localhost, but as soon as i upload it to my host (.net 3.5), it doesn't work! i always get redirected to a 404 page!Is there a configuration needed to enable this?
as scottgu says no, but i don't find out why it's not working.

View 3 Replies

Configuration :: URL Rewriting Static Files Like CSS?

Nov 2, 2010

How do I rewrite the url for static files? When adding something like

RouteTable.Routes.MapPageRoute("test", "style/style.css", "~/Static/Styles/Public.css");

I just want the url /style/style.css to point to another static file on the webserver..

I'm getting this error:

There is no build provider registered for the extension '.css'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.

View 5 Replies

Configuration :: Url Rewriting Is Not Working In Godaddy Server

Jan 22, 2010

I hosted my project on Godaddy server and they say that the settings required for Url rewriting was already there.But I am getting a blank page when trying to use virtual url to redirect to a aspx page.

<urlrewritingnet
rewriteOnlyVirtualUrls="true"
contextItemsPrefix="QueryString"
defaultPage="default.aspx"
defaultProvider="RegEx"
xmlns="http://www.urlrewriting.net/schemas/config/2006/07" >
<rewrites>
<add name="About-the-company" virtualUrl="^~/About-the-company"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="Default.aspx"
ignoreCase="true" />
<add name="contact-my-company" virtualUrl="^~/contact-my-company"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="contactus.aspx"
ignoreCase="true" />
</rewrites>
</urlrewritingnet>

This is my code in Test.aspx page

<div>
<li><a href="test.aspx">Home</a></li>
<li><a href="About-the-company">AboutUs</a></li>
<li><a href="contact-my-company">ContactUs</a>
</li>
</div>

View 3 Replies

HttpHandlers / Modules :: Url Rewriting - Extensionless Configuration?

Nov 23, 2010

I want to perform some basic URL rewriting.http://locahost/website/ChangeMeIt seems I can't get the server cofigured right to do this.I created my own customer HttpHandler.by the time the my handler gets the url .... it has already been changed by asp.net to ChangeMe.htm ....Does anyone have anyclue on where IIS7 or ASP.net is messing with the URL?I have tried the built in Rewriter and Intelligencia.UrlRewriter and ".HTM" gets appended to every single extensionless request.

View 2 Replies

Configuration :: URL ReWriting - Extension Less Not Work - Add Dll From Web.config File?

Feb 8, 2011

I am working on url rewriting all is working fine on my local machine when i upload this site on production server the link of url rewrite which is extension less not work. i search the multiple solution in the google one solution is that insert the aspnet_isapi.dll in the properties->virtual directory tab->configuration->insert aspnet_isapi.dll site in working, but problem is that hosting provider refuse to add this dll. tell me alternate solution to add this dll from web.config file.

View 3 Replies

Configuration :: URL Routing / Rewriting - Http 404 Page Not Found Error

Dec 25, 2010

In my website users can create thier own websites by making folder of thier choice like: [URL] Where the folders Pankaj and Adam are storing in database. I just want that when user after creting thier website just clicked or type the address of thier website as [URL] then if the folder with name Pankaj exists in database then the page will open otherwise it gives the http 404 page not found error. And while the address [URL] is opens then i donot want to physically create it on server. My requirement is that i want to open it by the concept of url rewriting/ Routing. Which one concept will be good for this. And can anyone provide some code with example that how can i achieve this easily.

View 2 Replies

Web Forms :: URL Rewriting - Looking For Easiest Way To URL Rewriting

Apr 10, 2010

I am trying to implement URL rewriting technique in my Web application.I have found some articles on net 2 rewrite URL. But i m not able to understand. tell me any API or DLL which will take care of all url rewriting techniques in my Web applications.

I have heard something abt UrlRewriter.ddl . But i have not used it yet. provide me the easiest way to do that. If any sample application is there then it will be better ti understand

View 4 Replies

Web Forms :: Indexing On Date Column

Jan 18, 2014

I have perform indexing on date column in many of my sql tables. My question while applying indexing date we have sort option as well to perform the indexing in descending or ascending order.

While index the date column sort should be asc or desc.

If I sort desc will it increase performance because 98 percent time user is retrieving current data.

View 1 Replies

Site Search Using Indexing Through IIS7 On A Win7 PC?

Apr 27, 2010

Developing a web site in .Net 4. Very close to being complete with most functionality, so I thought I would attack what seemed to be a tough one (something I have not done): site content search.

I've been digging around for an hour or so, and I'm a little perplexed. How do I perform content search on an ASP.net website?

A few things I'll throw out there before you answer with something I've already seen and cannot implement:

I am developing on a Win7x64 computer using VS2010 w/TFS.Site has been converted to .net 4, and is in C#.Will not have access to put site on Windows Server 2008 for another month, but would really like to implement search if at all possible beforehand.All that said, can I implement searching via indexing? I've looked at using Windows Search, but nothing looked like it worked right. This site will be served up on a Windows Web Server 2008. Do I need to somehow develop against a Server 2008 to implement search via indexing?

View 3 Replies

Avoid IndexOutOfRangeException Indexing DataReader Columns?

Feb 9, 2010

I am having a little trouble with an 'IndexOutOfRangeException'. I think it is because when the code tries to get the DateModified col from the database it sometimes contains NULLS (the users haven't always updated the page since they created it).

Here is my code;

s = ("select datemodified, maintainedby, email, hitcount from updates where id = @footid")
Dim x As New SqlCommand(s, c)
x.Parameters.Add("@footid", SqlDbType.Int)
x.Parameters("@footid").Value = footid
c.Open()
Dim r As SqlDataReader = x.ExecuteReader
While r.Read
If r.HasRows Then
datemodified = (r("DateModified"))
maintainedby = (r("maintainedby"))
= (r("email"))
hitcount = (r("hitcount"))
End If
End While
c.Close()


I thought (after a bit of msdn) that adding;

If r.HasRows Then
End If

after adding I am still getting the same old IndexOutOfRangeException

(ps, I have tried datemodified as string / datetime)

View 4 Replies

Indexing Service Summary Field In Windows 7?

Jul 22, 2010

my webpage perform content search using Windows Indexing Servicemy production machine is Windows XP everything finethen i tested my published Website in Windoes 7the Summary Fields always empty

View 1 Replies

What Type Of Files Can We Search Using Microsoft Indexing Service

Mar 31, 2010

what type of files can we search using Microsoft Indexing Service

View 3 Replies

DataSource Controls :: Full Text Indexing -arabic?

Jun 13, 2010

i have made fulltext index in 4 columns in a table ( 2 ARABIC columns (title,Desc(html) AND ENGLISH(title,Desc(html))it works fine locally when i use contains function in search but in sever arabic search doesnt work well .

View 2 Replies

C# - Running Long Process: Indexing 5GB Docs With Lucene?

May 14, 2010

Situation:I have an ASP .NET application that will search through docs using Lucene. I want to run the initial indexing (the index will be incremental after the initial run so there wont be need to index the whole directory again in future). Currently, I have about 5GB of docs (45000files).Problem: My application times out before completing the process. I have altered the TimeOut like this:HttpContext.Current.Server.ScriptTimeout = 200000;but it still does not complete the process.

View 1 Replies

Localization :: Indexing Service For Search Engine Of The Website?

Jan 27, 2010

I would like to use the indexing service for search engine of the website. My problem is it can't search any Non-english words, it always return the message "The query contained only ignored words". Unbelievablely, differ result found in differ environments, in my local develop environment (Win XP (Chinese version)) is can search for any words, even non-english keywords. Another environment is server 2003 (English version), which is not work!

So I think it should be environment setting issue rather than .net setting or web.config or any other about the page encode, but i have no idea for how to setup the environment to fix this issue.By the way, my web.config have this setting, which is my googling result =.=

[Code]....

View 4 Replies

MVC :: Microsoft Indexing Service Search Does Not Index MVC Application Files?

Apr 12, 2010

I have just deployed a MVC web application onto our intranet. The application is hosted on a Win 2003 R2 SP1 server and running on IIS 6.0. Everything works fine within the application. But our intranet uses the windows Indexing service for providing search functionality on our intranet website.The search brings up related links to files within the MVC web application. But the problem is the links don't work as MVC urls do not point to absolute files.Is there a way to resolve this?

View 6 Replies

Web Forms :: TreeNodes Of TreeView (with Custom Hierarchical DataSource) Not Indexing Properly

Jul 30, 2010

I've managed to render TreeView using custom made Hierarchical Datasource based on Linq queries on self referencing table. Rendered output looks well but... Every Node in NodeCollection has the same index = 0. Therefore when I click on any collapse button - the whole tree Collapses. In generated html every node has the same id = MainContent_TreeView1n0 I suppose n0 should increment to n1 n2 n3 and so on.

View 5 Replies

Forms Data Controls :: Gridview Page Indexing Is Only Firing Second Time?

Jul 1, 2010

My question is related to this post:

http://forums.asp.net/p/1016715/3297261.aspx

When ever I click on the paging it does a postback but does not move the page to the secong page.

[Code]....

View 5 Replies

Forms Data Controls :: Handle Page Indexing / Edit And Canceling?

Sep 29, 2010

How to handle page indexing , editing and cancelling events in asp.net?

View 2 Replies

C# - Using Google Federated Login With Google Apps And .net Application

Aug 11, 2010

As an organisation, we use Google Apps. We have the paid version (mapped to our domain) etc...We are developing a web based application to manage orders, and other business functionality.I want to be able to use federated login with our google apps accounts-
For example, if a user is logged in to their email (gMail) - they should automatically be logged in to our ASP.net application

If they're not logged in - the log in form should auth. against our google apps account.How can this be done?Is it possible to be able to "get" the user who is currently logged in using this method etc...?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved