Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add old site contents for transition #31

Merged
merged 9 commits into from
Oct 26, 2014
Merged

Add old site contents for transition #31

merged 9 commits into from
Oct 26, 2014

Conversation

davelab6
Copy link
Member

As part of #25 I got access to the old SF.net FTP area, and I see that it uses a .htaccess to redirect visitors to http://fontforge.org; so we can

  • move the pages to here at the same URLs, so nothing breaks
  • insert a message about the transition at the top of each old page, and
  • merge this pr
  • update the .htaccess on sf.net to redirect to http://fontforge.github.io instead
  • ask Toby Thain to repoint the DNS A entry to Github's IPs
  • when Toby confirms DNS is updated, change the CNAME to fontforge.org
  • as each old site page's content is moved to a new site page, cut it down to a redirect

My initial message is,

This is part of the old website. New website begins at fontforge.github.io

Are you a web developer? Help us migrate this page on Github

Since we use /en-us/ for all new content, there is no clash
This redirects URLs from fontforge.sourceforge.net to fontforge.org
seamlessly
Redirect fontforge.sf.net to fontforge.gitub.io. I’ll upload this file
to the sf.net site when we are ready, and then any links to that site
will still work after we redirect the domain fontforge.org to github’s
servers
@simi
Copy link
Contributor

simi commented Oct 26, 2014

And why http://fontforge.org should not be used for http://fontforge.github.io/ also? Github pages supports custom domain also.

@davelab6
Copy link
Member Author

I'll ask Toby Thain to re-point the DNS as soon as this is merged

@adrientetar
Copy link
Member

I'm not sure it helps much to bring the old site verbatim, it's still available at sourceforge; the point of the new site is to have new content or updated one. Anyways.

GitHub Pages' not an Apache server, .htaccess is useless over here.

Does someone pay for fontforge.org?

@davelab6
Copy link
Member Author

I'm not sure it helps much to bring the old site verbatim,

Until all the old content is moved over, I think it would be bad to just disappear the information off the web.

it's still available at sourceforge;

If we repoint fontforge.org to the new site, and the sf.net site has the .htaccess, then the old information will only be available buried deep in the git history....

the point of the new site is to have new content or updated one. Anyways.

Yes, and I think a good transition to get there is to have a single set of site files and migrate the content from old pages to new pages :)

GitHub Pages' not an Apache server, .htaccess is useless over here.

Yes, this is the file I'll push to the sf.net server

Does someone pay for fontforge.org?

Yes, Toby Thain in Australia

@adrientetar
Copy link
Member

Well, merge it if it's ready to go.

davelab6 added a commit that referenced this pull request Oct 26, 2014
Add old site contents for transition
@davelab6 davelab6 merged commit 9c111eb into master Oct 26, 2014
@davelab6 davelab6 deleted the oldsite branch October 26, 2014 19:49
@adrientetar
Copy link
Member

Okay but right now upon accessing the new website you're redirected to the old one, I don't think we want that. We shouldn't set up the CNAME for now at least.

@davelab6
Copy link
Member Author

upon accessing the new website you're redirected to the old one

I don't see that? What URL? :)

@davelab6
Copy link
Member Author

Oh dear, I get an infinite loop redirect.

@davelab6
Copy link
Member Author

It seems that when I added a CNAME file with fontforge.org, and asked Tony to update the DNS, until he does so, that requests for fontforge.github.io would be 301 redirected to fontforge.org, which (thanks to its .htaccess file) are 301 redirecting back to fontforge.github.io

So I changed the CNAME file to new.fontforge.org and we have to wait for Github's system to propagate that update, and then it will all start pointing to fontforge.github.io again, and then when Toby confirms the domain is updated, I'll update the CNAME file again and we should be good

@adrientetar
Copy link
Member

We should just remove CNAME by now so that the website is accessible. new.fontforge.org is a 404.

@davelab6
Copy link
Member Author

Agree, doen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants