If I write exemple.com, the web address automatically go to exemple.com/exemple.com, but with www.exemple.com, the website work fine,
I tried to redirect to my index, but the problem still persists.
My .htaccess is empty.
I've stumbled upon this too. Try putting http:// before the url or just write / in the a-href.
But you need to supply us with more information and what you want to achieve for us to help you.
Related
I am changing the url structure of a website, to have it extensionless.
For example:
example[.]com/hello.html
would become:
example[.]com/hello
I have everything set up in my .htaccess file, and all works perfectly. However I want to drop the .html throughout the website, rather than by using a 301 redirect everything.
I tested it on a few pages and published them, it works fine online, however locally it doesn't know where to search, plus it's being counted as a broken link.
Is there a way to tell Dreamweaver not to look at the ".html" when viewing links? So that when I search for broken links it doesn't report false positives?
Thanks for any help, it's really appreciated.
If you would like to see the result, I would suggest you to use a free FTP. As for the ".html" links you may show the name without html but for linking you do need to link it to the proper link.
I was curious if there would be a way to shorten the beginning of the url. for example I have wlip.net/~name/mysite.com/ How would I be able to get out the wlip.net/~name/ part of the url?
Register mysite.com domain through a registrar, for example Namecheap. When you have the domain, you will need to configure your web server to use it; we can't tell you that without knowing which web server you're using.
You can visit site http://tinyurl.com/
you can make shorten URL.Like this URL navigate to this page itself http://tinyurl.com/86yrnj4
www.cjb.net
or just google the keywords: "short url"
and you will find lots of sites who could help you with that.
I'm trying to provide a link to chrome://newtab (the new tab page) for my distraction-preventing page for when I need to access it, however clicking the link gives the error Failed to load resource.
I've tried:
Linking to it using <a href="chrome://newtab">
Attempting to redirect the user using window.location.
The chrome: prefix aliases to chrome:// but still fails to load.
Does anyone know if this is possible or has any ideas to try?
I am not sure why it doesn't work, but I think it is for security reasons.
Pages on the internet should not have access to local resources and the new tab page is a local resource.
Format your link thusly (also will work with firefox and other tabbed browsers):
Click me
EDIT: of course, that's not actually the new tab page. It's just a blank tab. Going to leave it anyways.
I think you'll have to write a Chrome extension to get access to the chrome://newtab link, it doesn't seem possible for an ordinary webpage to access it.
Edit: This solution no longer works, but I'll leave it for anyone that might try to hunt down why it stopped working.
I finally found that https://www.google.com/_/chrome/newtab will open chrome://newtab, thanks to this post.
Don't ask me why.
Im editing the html of a myspace page to insert a form. For the 'action' attribute of the form I have a web address (naturally). It works fine on a real website, but what happens with myspace is that any links you enter are routed through the server (I believe) are replaced with an msplinks link instead. This royally effs up my form and I'm not sure how to get around it.
Any ideas?
EDIT: I know this is in flash but here http://www.myspace.com/brokensocialscene if you click on free download you get a box where you can enter your email.
Maybe it's a little late. But here is what I did:
Go to tinyurl.com or another website which shortens urls.
Shorten the url and
use the new short url in stead of the original (long url) for myspace and you'll see, it works!
Well actually it is not a workaround for msplinks, but the result is the same, since you can now direct to any url.
Actually what you're doing is the same thing myspace did. Making the url redirect. You can use this for any kind of url you like. Skype Urls, itunes urls etc..
I used it for the url to launch iTunes and subscribe to my podcast. As you can see in the link below, it even allows url's other then http://
original url: itpc://dl.dropbox.com/u/14194526/itunes_podcast_feed.rng
the short url I used is: http://tinyurl.com/2uh3m23
Hope you can still use it.
I have a link being generated that looks like so:
<a target="_blank" title="Test" href="file:///c:/test.xls">Test</a>
This link is inside an iframe.
When I click on it (in any major browser), nothing happens. Fiddler records no traffic.
Pasting the URL into the nav bar works fine - the file download box comes up, and I can download the file no problem.
I've tried every variant of the URL structure (correct and incorrect, colons, slashes, backslashes, etc.) that I can think of.
I'm certain that it's some kind of security restriction, but I can't for the life of me find out what it is or how to get around it. I'm feeling pretty foolish at this point. Any simple explanations?
Sorry, if you are pulling this page off of a server (acessing it as http://), the security settings won't let you link to local content (acess links as file://). I've had this same problem accessing shared .doc files in a wiki. Never came up with a good solution.
Try a colon instead of a pipe ;)