redirect to appropriate URL based on bookmark - vb.net

need to redirect to french url if user tries to access the application from default-f.aspx and redirect to the English URL if they come from default-e.aspx. Currently it redirects to English URL if they come from any bookmarked page from the app.

Related

How redirect the specific page to another page if the referer is from google search

I searched a lot on different topics but this problem has not asked yet.
I want to redirect http://examplesite.com/page1 to http://examplesite.com/page2 using .htacess file, if and only if the user is coming to this page from google search engine.
in other words, the user should not be redirected in the below conditions:
if the user is not visiting the page1
if the user is visiting the page1 but http_refere is not equal to google

Single Page App (ng2) and .htaccess

Should be a pretty simple question but I have an NG2 app that will run an apache server, when navigating to the app url i.e. localhost:4200 it will check if the user is authenticated and if they arent authenticated it will redirect to the /login url. This works well but if a user refreshes the webpage on the /login url the app wont load (the base href is "/").
Should I setup a 301 redirect in my .htaccess to redirect hits to /login to /?

Home page redirect to the X Folder - Google make any difference for the home page Ranking?

I just find that One of my client website (Home page) redirect to "x" folder.
Like www.example.com ► 301 redirect to ► www.example.com/x/
Also into Google search result i am finding that most of the keywords come with Home page URL.
Should this redirection make any difference to keyword ranking?
Thanks
301 redirection signals to search engines that the resource has moved permanently and signals to attribute the existing SEO values to the new URL. After certain point in time, search engines will index the new URL and drop the old URL as you have signaled that the resource has moved permanently (theoretically).
With this redirection, search engines will start looking at new URL and evaluate against ranking algorithm. Search engine crawlers will stop going through the old URL and keywords/content of old pages does not make sense anymore.

Can't edit redirect URLs in new API console

I have a long standing app, for which I want to add an additional redirect URL for a new test server.
When I click Edit Settings for my web app, I get a modal box containing my existing redirect URL, but a blank textarea for my existing Javascript origins. If I paste my existing Javascript origins into the textarea, it's colored red and the Update button is disabled.
Just to repeat, this is a long standing app. All I want to do is add one new redirect URL
If you want to add a new redirect URl, you need to add it in the text area "AUTHORIZED REDIRECT URI".
Text area "AUTHORIZED JAVASCRIPT ORIGINS" is not for redirect uri, it contains origins where your app is allowed to access the Google APIs.(Origins cannot contain a wildcard or a path)
Worked around by using the old console URL https://code.google.com/apis/console/b/0/?noredirect
I suspect the issue was some chrome-extension urls I had configured

Remove subdomain from google and yahoo

if I have a subdomain named abc.aaa.com
and now i have move to aaa.com/abc
more my server admin has help me to make a redirect on abc.aaa.com to aaa.com/abc
so no matter access which page/section/file in abc.aaa.com it will force to the HOME PAGE
of aaa.com/abc
therefore i cant use robots.txt to disallow the subdomain
and even i cant submit to both yahoo and google webmaster
any idea?
Redirecting the subdomain is the correct course of action. You don't want to use robots.txt. If you did, googlebot couldn't crawl it anymore and see that it now resides in a new home.
Your redirect sounds problematic though. You should not be redirecting everything to the home page. You should be redirecting each document to the new location of that document. When you redirect to the home page, Google considers the redirect to be about the same as a 404. They call it a "soft 404". Redirecting to homepage will lose any search engine rankings those pages have and lose any credit you have for inbound links coming into that sub-domain.
Having implemented the redirect without robots.txt, both Google and Yahoo will pick up on the move. It should happen within a couple weeks. There is no need for you to take further action.