having trouble in redirection URL - magento-1.9

I've just learnt about magento and i have a trouble with redirection URL.
Step 1: go to a page http://mysecondwebsite.com/news/.
Step 2: from http://mysecondwebsite.com/news/ go to http://mysecondwebsite.com/notebook. But it goes to http://mysecondwebsite.com/news/notebook.
Somebody can tell me why?

Related

Is there a direct link on facebook to start a blank post?

I'm looking for a link that once clicked will take the user to their Facebook home and open the Create a Post page.
This isn't for trying to pre-fill text or links. I know FB got rid of the status= feature etc. Similar to what I want to happen.
The url https://m.facebook.com/profile.php?soft=composer doesn't seem to bring you to the composer window, it just redirects back to profile.php. Any help on this would be greatly appreciated.

Redirect a wix website to a new external website

I just made a new website for an association and the client is asking me to redirect their old wixsite website to the new website
Did anyone have a solution to do that?
It's seems more complicated with non-wix site
(I don't know at all how wix work)
Hoping someone could give me some help :)
I found a way to do the redirect from Wix to an external website.
From your site's Dashboard:
go to Settings > Advanced Pannel > Custom Code
press the + Add Custom Code button.
From my understanding, you want to redirect the entire website so if a user lands on /about it will also get redirected to your new website. Just make sure you:
select All Pages and Load code on each new page
select to place code in Body - start.
Now, in the code snippet text field, paste this:
<script type="text/javascript">
window.parent.location.href = "https://www.<your-new-sites-address>.com"
</script>
Make sure you got everything right and press the Apply button
Optional: you can give this code snippet a name that might help you remember what this is all about (ex: Redirect to my new website)
Disclaimer:
301 Redirects only work with custom domains. It is not possible to set up a 301 redirect from free Wix URLs to a premium site.
To set up a 301 redirect:
Go to SEO Tools in your site's dashboard.
Click URL Redirect Manager.
Click + New Redirect.
Select Single Redirect.
Note: If you want to update multiple pages which share the same path, you can select group redirect. Learn More
Enter the old URL path you want to redirect from, (e.g., /about-us) under Old URL.
Start typing the URL path of your new page and select it from the drop-down.
Click Save & Close or click Save & Add Another to add more.
Here's what it should look like:
The latest version of Wix has a new way of accomplishing this:
Create a page for the route you want to redirect from.
Something like:
/zoom
Then go to that page and turn on Dev Mode and paste the following into the code box that appears at the bottom of the page:
import wixLocation from 'wix-location';
$w.onReady(function () {
// Redirect to our link
wixLocation.to("EXTERNAL LINK HERE");
});
Click Publish!
Wix Documentation

AngularJS unable to load page on specified location with hash

I have this 2-page website which uses angularjs. I like to be able to load page 1 on a certain position by clicking a link on page 2.
Normally, without angular you would give a div an ID like <div id="test"> and put a link on page2 test
On my angular website I use duScroll library to create smooth scrolling.
As a concept I've created the following example website: http://jdenuijl.com/test/#chapter2
this link will open the correct location and smoothscrolls when clicking the links at the top of the page.
On my production website the following link https://escapist.nl/nl/#gallery gets rewritten to https://escapist.nl/nl/#!#gallery and it doesn't open on the correct position.
I've read a lot of questions on stackoverflow about $hashprefix, $locationProvider, $location but I don't see why it's working on my test site and not on my production site. I use some other angularjs functionalities on the production website but I can't find what is causing the rewrite.
What is causing the rewrite and the failure of the normal behaviour?
Thank you very much!
Aleksey Solovey put me in the right direction. I was using the angular-google-analytics module which I found out was loading ngRoute which caused the problem.

wordpress url issue html multiple

I have one big problem. I have installed the latest version (4.1.1)of wordpress locally(wamp) in the folder www. I wanted to change my html site's url. I changed my wordpress url and site url from settings -> general with the same name as this locally/wordpress/revenant. When I saved changes, a 'not found' page appeard with error "The requested URL /wordpress/revenant/wp-login.php was not found on this server". Revenant is an HTML site I created. I put this site in wp-content/themes, a folder with the name revenant which has footer.php, header.php, index.php and style.css in it. My first question is how am I going to retrieve and see my dashboard, admin page and second how to load multiple HTML sites with different url's? To manage my site (go to the about-contact page, nav menu ec) in which parts do I have to change my HTML code to PHP? I am a junior developer and need help. And why in settings->reading didn't appear the choice of front page displays? I want to check as ' a static page ' and I can not. Thank you in advance. If you want any code let me know.

Flash Issue index.html

I know very little about flash but my news works website it written in this but not working and I've been asked to have a look. The problem is the login page is corrupted and so will not allow you to go past it but thats where most of the website is (My plan is to create a HTML copy of the site) The only html page I see is index.html and when on the page and you click a link, the address bar along the top still remains at index.html, does anyone know how I can get into the flash site (I have this offline) so I can edit the login page and thus copy the code/information.
Thanks for you're time
Ross
It's hard to tell what's wrong without any code, would you care to share the source code with us?
Also, some interpunction would help. It's very hard to make up what you're trying to say here, because everying is one big sentence.