Logo for the forum? Easier URL?

General Chit Chat about Sinclair Computers and their Clones
User avatar
Paul
Posts: 1123
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: Logo for the forum? Easier URL?

Post by Paul »

yerzmyey wrote:You know I'm not a graphician.

http://zx81.republika.pl/zxlogo_forum1.png
To resize whatever anybody wants.

PS: After those changes it's impossible to log into the forum on the original WWW address. I thought it might be important.
As this is the (only) Forum also featuring the ZX80 it would be nice to a picture of it too, maybe ZX80 on the left, ZX81 on the right?

Otherwise, this is quite close to what our world really is ;)
In theory, there is no difference between theory and practice. But, in practice, there is.
RWAP
Posts: 1336
Joined: Thu May 08, 2008 8:42 am
Location: Stoke-on-Trent, UK
Contact:

Re: Logo for the forum? Easier URL?

Post by RWAP »

yerzmyey wrote:You know I'm not a graphician.

http://zx81.republika.pl/zxlogo_forum1.png
To resize whatever anybody wants.

PS: After those changes it's impossible to log into the forum on the original WWW address. I thought it might be important.
One of the problems with the phpBB forums is that the cookie doesn't work properly if you don't use the same domain name as the server...

I have tried using a redirect in .htaccess to move you to http://www.sinclairzxworld.com, but the redirect doesn't seem to work properly (even though I have tested that it works in a htacess tester)

What is wrong with:

Code: Select all

Options +FollowSymLinks
RewriteEngine on

#Ensure cannot access via http://www.rwapservices.co.uk/ZX80_ZX81/forums/
RewriteCond %{HTTP_HOST} ^(www.)?rwapservices.co.uk [nc]
RewriteRule ^ZX80_ZX81/forums/(.*)$ http://www.sinclairzxworld.com/$1 [r=301,nc]
User avatar
PokeMon
Posts: 2253
Joined: Sat Sep 17, 2011 6:48 pm

Re: Logo for the forum? Easier URL?

Post by PokeMon »

I am not sure but do you think URL rewriting is possible with different domain names ? :roll:
If you have a catch all listener - maybe.
But I don't think that the apache listener for the old domain will redirect this session to another (new) listener.
I am not an expert and didn't check this - just an idea. ;)

Maybe it is more easy to redirect to a simple static page on the old domain which initiates a redirect via the browser of the user.
Would be nice with a message, that the forum has changed.
Maybe even not automatic forward to it, maybe just a link to follow to read the message and decide what to do.
And be careful what the google bot does.
Would be a pity to have this domain unlisted.

Change of a domain name is not trivial.
User avatar
PokeMon
Posts: 2253
Joined: Sat Sep 17, 2011 6:48 pm

Re: Logo for the forum? Easier URL?

Post by PokeMon »

By the way, adding a post will not show the last post after sending it, it jumps to the first post of the thread.
Not convenient if threads have more than one page.
RWAP
Posts: 1336
Joined: Thu May 08, 2008 8:42 am
Location: Stoke-on-Trent, UK
Contact:

Re: Logo for the forum? Easier URL?

Post by RWAP »

PokeMon wrote:I am not sure but do you think URL rewriting is possible with different domain names ? :roll:
If you have a catch all listener - maybe.
But I don't think that the apache listener for the old domain will redirect this session to another (new) listener.
I am not an expert and didn't check this - just an idea. ;)

Maybe it is more easy to redirect to a simple static page on the old domain which initiates a redirect via the browser of the user.
Would be nice with a message, that the forum has changed.
Maybe even not automatic forward to it, maybe just a link to follow to read the message and decide what to do.
And be careful what the google bot does.
Would be a pity to have this domain unlisted.

Change of a domain name is not trivial.
I realise that - the htaccess should work - the rewrite should redirect to the new domain name - I have tried changing it to redirect to google.com and that works so long as I use the code

Code: Select all

RewriteCond %{HTTP_HOST} ^(www.)?rwapservices.co.uk [nc]
RewriteRule ^(.*)$ http://www.sinclairzxworld.com/$1 [r=301,nc]
So that suggests the issue is with the prefix in the line:

Code: Select all

RewriteRule ^ZX80_ZX81/forums/(.*)$ http://www.sinclairzxworld.com/$1 [r=301,nc]
Oddly using a htaccess tester shows that the URL is correctly redirected to the new domain

The problem with a static page and HTML redirect from there is that you lose the direct links to posts - especially useful for all of the posts in search engine results.
RWAP
Posts: 1336
Joined: Thu May 08, 2008 8:42 am
Location: Stoke-on-Trent, UK
Contact:

Re: Logo for the forum? Easier URL?

Post by RWAP »

PokeMon wrote:By the way, adding a post will not show the last post after sending it, it jumps to the first post of the thread.
Not convenient if threads have more than one page.
Hmm - that is odd - I wonder why....
RWAP
Posts: 1336
Joined: Thu May 08, 2008 8:42 am
Location: Stoke-on-Trent, UK
Contact:

Re: Logo for the forum? Easier URL?

Post by RWAP »

I had another thought on the htaccess file, and having changed it - it now works.

The second line had to read:

Code: Select all

RewriteRule ZX80_ZX81/forums(.*) http://www.sinclairzxworld.com$1 [R=301,L]
Bill H
Posts: 155
Joined: Sat Nov 27, 2010 6:05 pm

Re: Logo for the forum? Easier URL?

Post by Bill H »

You need to put some note on the home page or login page - I logged in 5 or 6 times before I started looking around for why it wasnt working and found the post about the new url

:(

Bill H
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: Logo for the forum? Easier URL?

Post by yerzmyey »

Paul wrote:As this is the (only) Forum also featuring the ZX80 it would be nice to a picture of it too, maybe ZX80 on the left, ZX81 on the right?
Otherwise, this is quite close to what our world really is ;)
Hm, that's actually a good point.
I will try to make such a thing tomorrow.
Although I do hope I have some _good_ photo of ZX80 in my collection.
Hm, there SHOULD be something. ;)
Greetz,
Y
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
RWAP
Posts: 1336
Joined: Thu May 08, 2008 8:42 am
Location: Stoke-on-Trent, UK
Contact:

Re: Logo for the forum? Easier URL?

Post by RWAP »

Bill H wrote:You need to put some note on the home page or login page - I logged in 5 or 6 times before I started looking around for why it wasnt working and found the post about the new url

:(

Bill H
The redirect was not always working for some reason - everyone should now be redirected to the new URL.....
Post Reply