Hello
My webpage is opening on many urls ex: and it is also opening on and many you can after .aspx , it will open.
currently i have made a permanent redirect to main url. i want show it as error pages.
So how can i fix the issue?
Thanks
Hello
My webpage is opening on many urls ex: and it is also opening on and many you can after .aspx , it will open.
currently i have made a permanent redirect to main url. i want show it as error pages.
So how can i fix the issue?
Thanks
Jump to Post— G_Waddell 131Hi,
If I understand you correctly, you wish that your users will always access your site through the root page?In otherwords, if they have put a page further into your site into the browser URL you will direct back to the root page?
I would create a session variable …
Hi,
If I understand you correctly, you wish that your users will always access your site through the root page?
In otherwords, if they have put a page further into your site into the browser URL you will direct back to the root page?
I would create a session variable on your root page probably with a value of True then on each of your other pages the first thing I would do is to check for the session variable and that the value is True if not, redirect to your root page.
Can you clarfy the process your are trying to implement?
I think if they want it so if the user bookmarks a page lower down in the site or uses a url of a page that isn't the root that they will be redirected to the root page. i.e. http://www.daniweb.com instead of http://www.daniweb.com/development
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.