How To Redirect From SEO Friendly URL To CMS From ASP Code

I am trying to SEO a website which gets content from a CMS, and is coded using ASP, running under shared IIS hosting.

There are urls like http://www.example.com/search.asp?it...6&third_id=Red

To get some keywords in there, I was thinking how to get a URL like this
http://www.example.com/Widgets/Special/Red/search.asp OR
http://www.example.com/special-red-widgets.html
convert automatically into the one above with ? and ids..

If this can work, I can have keyword rich URLs, which when clicked can turn into old ID urls, and fetch relevant content from the CMS.

I've heard about IIS redirect but am not sure how it works. Considering that the site is on a shared hosting, I wanted to know your opinion and best ways to achieve this.

View Replies


ADVERTISEMENT

Printer Friendly Code

Is there a way to get a printer friendly page using ASP. And when I say this I do not mean removing banner, picture etc and print the page.

The problem I face is, an ASP output is a big table with say 10-15 columns and it would not print even in landscape mode. So if I print the output from the IE browser the right side of the table gets cut. I want to know if there is an ASP code to over come this problem.

View Replies View Related

Code Redirect

will this code redirect you if you login with the correct user name and password
Code:

<%If Session("admin") = False or IsNull(Session("admin")) = True then
Response.Redirect"adminlogin.asp"
End If%>

View Replies View Related

HTTP Status Code 400 W Redirect

I used a Response.Redirect "page.asp" as the last command in ASP code that
processes a submitted form from an Adobe PDF form (using HTML format). For
some reason, if there is any linked file (image, stylesheet, javascript) in
the target "page.asp" IE hangs until you press Escape. With Refresh, the
page loads completely.

I checked the web log and the entry for "page.asp" is 200 (OK) but all the
files I mentioned above all show 400. The description for this status code
is pretty generic and not much help (a syntax error in the request and the
server doesn't understand it

I can't control the syntax of the request so how can this be fixed? (and how
could the submit from the PDF form have anything to do with this since other
HTML forms directed to an ASP page with images etc. works fine.

View Replies View Related

SE-friendly Dynamic URL

For some of my pages I currently have part of the URL as being 'ourservices.asp?ID=1' (its got nothing to do with sessions) and I am currently changing part of it so its more SE-friendly - i.e. 'ourservices.asp?services=website-marketing'. However following Googles guidlines regarding dynamic URL's,. it says that some search engines don't crawl pages which have a '?' in them for fear of them being a session URL (which mine isn't).
My question is- is there any alternative that I can use to replace the '?' with another character for my dynamic URL. Or, is this the only way I can have this dynamic URL?

View Replies View Related

Printer Friendly

Just looking for an affective and easy to use free 'Printer Friendly' script for an Intranet.

View Replies View Related

ASP User-friendly IDE

can anyone tell me a user-friendly IDE for ASP? (not
asp.net). Is interdev has intellisense in it?

View Replies View Related

Printer Friendly

I have an asp application that generate reports. The reports are a list of tables that contain information about users. each user has his own table. how do I get the tables to be printer friendly using either css or a script.And how do I page break the tables.

View Replies View Related

SE Friendly URLs With ASP & IIS.

has any one tried SE Friendly URLs with ASP & IIS? There's nothing like mod_rewrite for IIS. Ofcourse there are some 3rd party COM available but how many of us can use them on shared webservers?

So, is there a way to do it?

For those people who don't know what I'm talking about,

Normal URLs with querystrings look like
http://www.example.com/myPage.asp?id=1

while SE Friendly URL will look like
http://www.example.com/mPage/1/

The operative words being look like. You will see the 2nd URL in the browser's address bar but the server will take it as the 1st URL.

View Replies View Related

Printer Friendly Form

I have developed a client based form using vbscript for a web page to run on IE and would like to make this form printer friendly. Anyone have some ideas?

View Replies View Related

Friendly Reminder: Look Before You Post

This message is being brought to you by a few of your friendly neighborhood ASP programming solution providers:

Please attempt to solve your own problems before posting to Sitepoint. I know I (and other persons who will remain anonymous) find it a little irritating when one (or more) of the following happens:

1) We can type your question into Google and the answer is the first hit that comes up.

1.1) We can type your question into Sitepoint's search and the answer is the first hit that comes up.

2) Your question is answered two posts below your question.

3) The answer requires merely looking up the appropriate object/function in the ASP/VBScript references. *

4) Two or three minutes after posting your question, you post "Oh, nevermind, I got it." without even referencing the solution so other people with the same question will know how you did it.

* Note that we will be VERY happy to provide you with links to these kinds of references (and indeed already have in the Important ASP Resources thread - which happens to be marked important twice) upon your request (I know of at least one individual who links these references in his signature also).

Now, please don't think that I'm ranting and raving. I'm just trying to inform those persons who do the above on a regular basis. It grows tiresome when I login for the day and all 5 new posts are questions that are easily answered with a simple link that could have been found if the one who posted the question would have spent 30 seconds researching his/her problem.

Mentors, Advisors, and Sitepoint Team Members:

If the opinions of this post are contrary to that of Sitepoint, please let us know. I would suspect that you would like us to spend our time on questions that are not easily answered instead of just repeating information which is already easily accessible.

View Replies View Related

Printer Friendly Page

Just want to ask if anyone here has experience with doing printer friendly page. I have done a printer friendly page but the problem is if the line overflow, the printer friendly page will 'run' because my code count line by line, but by charactar or pixel.

View Replies View Related

Dealing With Friendly Urls

My application runs on ASP and the business logic is embedded in Dlls written in VB. The application hosts a list of articles for the user to view and these are accessible through some complex urls like "http://mysite/articles/category1?articleid=34512". I would like to denote a friendly url to these articles such as "http://mysite/articles/kb_TaxPlanning.asp". I am thinking of using an ISAPI filter to do the work for me. My friend was trying on using a httphandler, but it did not work. Please share with us the resources for creating an isapi filter for the same. Also how to use the same for the expected result?

View Replies View Related

Printer Friendly Pages

my data all can display.but when link it 2 printer friendly pages no data display

View Replies View Related

Printer Friendly Pages

What are the best approaches to create printer friendly pages in ASP web sites.? provide us help or links to useful artciles on this topic. Also can we avoid creating separate printer friendly pages and send the current page output to printer as the PRINT
button is clicked?

I have seen this functionality when we print our MCP transcript in MS certificastion site?

View Replies View Related

Search Engine Friendly URL For ASP

I'm having problems finding a guide for search engine friendly URLs for ASP. I found some program for sale that needs to be installed into IIS, but this is no good. My web hosting provider would never allow this.

Can anyone point me to a helpful guide in creating search engine friendly URLs out of dynamic sites for a Windows server with ASP? If someone knows of any good hosting providers who already have the ISAPI_rewrite filter installed for its customers, that would be great also.

View Replies View Related

Printer Friendly Pages

i am developing a website and in it, i would like to allow them to print the webpage but without the header, footer, as well as to set the default printing layout to be landscape and not protrait. Does anyone know how i may go about doing it?

View Replies View Related

User Friendly Error Messages

I want to do error handling in my application. I have made a complete application. but when I encounter errors. I want to do error handling. how can I do it?

I mean like in this case I can see if the record is being added duplicate then I can always check for duplicate records and throw a message. but I will face so many errors like this??? do we have a list ..whereby I can get all the error numbers and there meanings and I generate my own user-friendly errors?

Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)

[Microsoft][ODBC Microsoft Access Driver]

View Replies View Related

Turn Off Show Friendly HTTP Error

how can i turn off 'Show Friendly HTTP Error Messages' in IE Browser to get a better error message?

View Replies View Related

Regular Expression :: Search Engine Friendly URL

I have a search engine friendly URL like this:

http://www.somesite.com/restaurants--reviews-compare-prices/Std_Country~Belgium/Restaurants_Cuisine~African/browsecat-1

by applying the following pattern:

^http://www.somesite.com/.*(/([a-zA-Z0-9_]+)~(.*))+/browsecat-([0-9]+)$

I'm trying to change the SEF url to this:

http://www.somesite.com/browsecat.asp?CatID=1&Std_Country=Belgium&Restaurants_Cuisine=African

by using code like this:

regex.replace(SEFURL,"browsecat.asp?CatID=$4&$2=$3")

however, all I'm getting is this:

http://www.somesite.com/browsecat.asp?CatID=1&Restaurants_Cuisine=African

which is only partially right. does anyone know how can I get this thing right?

View Replies View Related

If Table Doesn't Exist Give A Friendly Message

Just when I thought I was done , I try going to the "myfolder.asp" page and I get an error:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E37)
[MySQL][ODBC 3.51 Driver][mysqld-3.23.55-nt]Table 'streetguide.max' doesn't exist
/streetguide03/members/myfolder.asp, line 73

Line 73 is in red.

This is because the user didn't have a folder created, because they didn't save anything to their folder. On another page I have code that creates a table with the same name as the UserName, only if they decide to save something in their folder. Code:

View Replies View Related

How Can I Give A Nice Print Friendly Feature Through IE For My Website Visitors

I just wanted to know if anyone can tell me how can I give my website visitors the feature of "FRIENDLY PRINTING" through IE. Code:

View Replies View Related

Printer Friendly Page :: Directly Print The Content From Textbox Data

how to print the content of a multiline textbox without taking the content to some other "printer friendly" page. I just wanna send whatevers in the textbox directly to the printer.

View Replies View Related

Redirect To Secure FTP Site Via Response.redirect

I am trying to use the following in an ASP page to redirect a user to a
non-anonymous FTP site:

response.redirect("ftp://myusername:mypassword@ftp.mysite.com")

but I keep getting a "permission denied" error. If I just put the same
address string in IE6's Address box and go to it, IE opens myusername's FTP
home page just fine, so I know the FTP site is working as expected. Also,
if I put in an anonymous ftp site, without the username and password (e.g.
"ftp://ftp.microsoft.com"), the redirect works fine, too.

I don't want the user to be prompted by IE for the username and password at
the FTP site, so I am providing them from within the web site.

What can be preventing the response.redirect from handling non-anonymous FTP
access? Is there a better way to do this?

View Replies View Related

Friendly HTTP Errors Causes Std Error Page In IE (no Its Not An Asp Error!)

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?!?! Code:

View Replies View Related

ASP Code - Anti Spam Verification Code

I'm looking for sample code that will require a use to enter a code from a scued image format.

I'm sure you've seen them before where the image is barely readable by a human and the user has to enter the code correctly to submit the form.

I'm looking for ASP code and NOT ASP.NET code as I am supporting a legacy site.

View Replies View Related

Redirect

When i call logout.asp, it deletes the session etc etc and then redirects to main.asp.
main.asp is the main content, which opens in the main frame of the frameset, which is named index.html.

How can i change the redirect....
Code:

Response.Redirect("main.asp")

...so that it loads the full index.html file once again, and not load the index.html frameset into the window.

would it be like this?....
Code:

Response.Redirect("index.html" target="_self")

?

View Replies View Related

Redirect

I was wondering if it is possible to redirect the user to a specific page he/she request without the use of hyperlinks. Im suppose to list all the options in a drop down list and upon selection, say the page is Modified PBT, the user will be able to view that particular page.

is it something like

If Request("Submit")="Submit" then
materialType = request.form("MaterialType")
if materialType = "ModifiedPBT" then
Response.redirect.....
......

View Replies View Related

Redirect

How do I redirect a page back to the orginal sending page. I have a script that checks to see if a user is logged in and if he. she isn't then it redirects them to a loging page, one login has been checked and process, how do I redirect them to the original page.

--
To reply, remove "TRASH" from email address

View Replies View Related

Redirect

I am working on a form that needs to be submitted to a different server. Apparently some firewalls alert the user that the system is sending data to a different server and this may not be wise. To avoid confusing users I though I could have a simple ASP script on the same server as the html form and it's only purpose would be to send the data to the other server and return a "success" message if it completed properly.
I have a deacent understanding of scripting, but using PHP, this will be my first real go with ASP.

View Replies View Related

Redirect

how can i redirect to a page, wait on that page for 5 seconds, then redirect
somewhere else

View Replies View Related

Redirect

I have written an Two ASP pages one is login.asp Another verify.asp

login.asp redirects the page to verify.asp .

The verify.asp has the following code
<%
Set objCom = Server.CreateObject("AgileAPI.Server")
objCom.SetLicenseKey "AFDGHDJLFLFMTTIGMVFK"
b = objCom.Connect("agility", 9017, -1)
b = objCom.Login(Request.Form("username"), Request.Form("password"), "agility", "D:COM", 9010, 16384)

Response.Write ("Connected to ADV 2006" & b)
%>
I have registered that dll using regsvr32.
But it status bar is see http:localhost estverify.asp and stops there
why its not redirecting or displaying the Response.write

View Replies View Related

Redirect

i'm trying to make an asp page to log out from a restricted part of the site, and i'd like it to say "you have been logged out" then redirect back to the login page after a 3 second delay. how can i do this with either java or vbscript?

View Replies View Related







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