Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681387yI’ve only know of doing this via JavaScript Or reading the URL server side and forcing a redirect that way.
I don’t think ( could be wrong ) Apache can redirect based on # -
lithiex4587yYou might want to ask on Stack Overflow... but don't blame me if you suffer from PTSD afterwards :P
-
@C0D4 HI C0D4 Thanks for your response, can you share some code snippet for angularjs which does 301 redirect for the hashbang url because old urls are already cached by google and google is giving us warnings for duplicate content.
Thanks a lot -
@AlexDeLarge Hi Alex,
I'm Sorry I may sound like a noob to you which I am but can you share some codes on how to do it?
Thanks -
@AlexDeLarge Hi Thank you very much for your response Alex, I'm trying to get a grip on what you said, I'm using MEAN stack so let's see if I can make it server respond with 301 redirect
Related Rants
-
byt3cod323Stages of learning angular js 1. Wtf 2. I think I get it. 3. Wtf
-
shauryachats9I hate those fucking sites which make you login first and then redirect to their home page. FOR FUCK'S SAKE, ...
-
creator11Boss: We are using Angular 1 in our project, right? Me: AngularJS, yeah, we are using it. Boss: I heard they h...
Does anyone know how to 301 redirect a hashbang url to a prettyurl using .htaccess? I need it for my angularjs app thanks
undefined
redirect
angularjs
.htaccess