Prestashop locally redirect all to home page - prestashop-1.6

I have working shop on prestashop (1.6), when i copy files and db to local mashine, create virtual-host set up new shop-url, enable debug-mode, home page works but every other url (not home page) is redirecting to home page.
I have message:
[Debug] This page has moved
Please use the following URL instead: home-url-here
Regeneratig .htaccess file didnt help.
I cant find where is this redirect and how to remove it.

In back-office "Preferences" -> "SEO en URLS"
Turn friendly url "Off" -> save and turn back "ON" (if required)
This should do the trick.

Related

URL Redirection Issue in DNN

In my local environment of a particular site, when i click on a particular link ,it redirects to the same page but in the url it shows that the page has been visited.Again when i click on the link, it will direct me to that page. Any reason as to why this happens and what could be the possible solution.
For example: My sites name is abc.com. It has pages like help, contact etc. When i am on my homepage and click on help it redirects me back to my home page but in my browser the URL is shown as abc.com/help.
When i click on help again , it redirects me to the help page(URL in browser is abc/help/Help) on the second click.
This can happen if the cache or system index has been corrupted. The best solution is to typically stop & start the application and see if it comes back.
If it is still an issue and you are on an older version of DNN, make sure that the PortalAlias table doesn't have a trailing / on your portal alias.
If this isn't the case, it is possible that a custom URL impacted this, but doubtful.

Is it possible for Contao to not redirect to home page alias?

Older Contao versions by default did not redirect to the first public page, so the front page was displayed with both domain.com and domain.com/front-page.html and neither was redirected to the other. However the newest Contao at least (4.8) does force a redirect from domain.com to domain.com/front-page.
There is one setting, Do not redirect empty URLs, which looks like it could do the trick, but, in my case at least, does not seem to do anything.
So how do I prevent Contao from redirecting from a "blank url" to the first published page of a website root? I'd much rather redirect the other way around, from /front-page to /.
Simply set the alias of your start page to index. The generated URL by Contao for the page with the alias index will always be without a path.
See also the documentation about page aliases (English version still WIP).

Forcing a brower url update when clicking a route link in Rails 4

I have a ruby on rails app with a relative link on the page that has a wildcard subdomain.
For example:
https://username.mydomain.com with a relative link on an a tag:
/checkout
The checkout url should then bring the user to this page:
https://checkout.mydomain.com/username/buy
I have it going to the right visual display and the request parameters read the proper url, however, the url in the browser is listed as
https://username.mydomain.com/checkout
Is there a way to update the url when a user clicks the relative link. It appears it works only some of the time and I have tried turning off turbolinks by putting data-no-turbolinks in the body tag.

is there a way to prevent editing the url manually in Ember-cli

In ember-cli is there a way to prevent the user from modifying or entering the url i.e, the url should change when the path changes (when transition occurs) but when the user tries to refresh/modify it - it should display 'page not found' or should redirect to the index page.
with some research i came to know that using location: 'none' in environment.js will not display the changed url. but what i want is that the changed url should be visible but the user shouldn't able to manually modify or refresh the url.
Simply have your web server redirect all 404 (i.e. not-found) requests to /index.html. Then the visitor will not get a "page not found" but your app's homepage.

Something wrong with redirects on my Joomla 1.5.18 site

My Joomla 1.5.18 site, I enabled login, when I click login the page I get sent to is NOT styled with CSS. If I login it redirects to the home page and it is not styled anymore either.
It looks like it is recursively appending stuff to the URL incorrectly.
http://www.myjoomlasite.org/index.php/index.php/login
if I click on home page or login links it keeps putting more and more index.php entries in the URL, and sometimes on the end. The following is what I get when I try and go to a JEvents menu item.
http://www.myjoomlasite.org/index.php/index.php/index.php/index.php/upcomingevents/month.calendar/2010/06/09/index.php
Anyone have any idea why this is happening? I don't know what to search for on Google apparently, and none of the Joomla! books I have address this.
I figured it out I had turned on Search Engine Friendly URLs in SEO Settings under Global Configuration. Turning this back off fixed the problem. Now I guess another question will be along the lines on how to get the Search Engine Friendly URL's to work again.
Make sure you link to stylesheets and images using a link that starts with a leading slash and therefore counts from the root.
It is the browser that evaluates the URL for those resources, based on the URL of the currently viewed HTML page. Never use relative links for these resources.

Resources