n00b html
- Started
- Last post
- 37 Responses
- ********
i've done nothing much in html for a long time and it appears i am now rubbish at it.
now, my client has a blog, with a really ugly url that i want to link up from his actual site with a nice simple link that hides the blog url
for example: www.client.com/blog
i figured a simple framset that loaded in the blog into a frame would work fine. but it doesn't. are you even allowed to use cross domain stuff in framesets?
any ideas on this? I could of course just put a meta refresh redirect on a page on his main site, but that would then show the blogs url in the browser.
- rson0
do you mean in the address bar? Cleaning up the URL?
- jox0
That's odd.
Frames should work fine.
Show the code, noob!
- ********0
Move the blog file to its own directory and change the name of the file to "default.extension" or "index.extension" (where extension is php, asp, etc).
That should allow you to just hit up the folder without having to link the actual file.
- ********0
Also, you may need to reappropriate the files the blog references as well if this is in fact a new directory.
- jox0
By the sound of it, I bet it's a blogspot or similar URL that usually prevents any sort of file fiddling.
- ********0
and I have tried it with more than one frame with the same result.
- jox0
iframed it?
- ********0
- TheBlueOne0
You could use one of those URL shortening web apps:
- jox0
Why not use a simple include? What sort of extension does the blog index have?
Easy as pie with PHP. Just one line of code.
- ********0
good call jox. i'll look into that.
any idea why a frame set isn't working though?
- acescence0
php or mod_rewrite
- ********0
http://blog2032801.123-reg-blogs…
is the blog url...
how do I work out what the actual file name is? ie. index.html etc etc
- ********0
- jox0
Source is .php
http://blog2032801.123-reg-blogs…
Even if you *do* solve it with frames - includes is the way to go IMO. Some browsers prevent "3rd party ad's" and I'm pretty sure it affects 2nd hand frames as well.
- jox0
rename file as .php
- jox0
...goddamit, code didn't show.
Hold on 1 sec
- ********0
good god, I don't know
- jox0
http://www.migliore.se/nt/skt.ht…
There you go.
- ********0
Does jawks have me on ignore?