Skip to content

[Website] Add .htaccess to redirect https://arrow.apache.org/datafusion to https://datafusion.apache.org/#505

Merged
kou merged 2 commits intoapache:mainfrom
alamb:alamb/redirect_datafusion
Apr 25, 2024
Merged

[Website] Add .htaccess to redirect https://arrow.apache.org/datafusion to https://datafusion.apache.org/#505
kou merged 2 commits intoapache:mainfrom
alamb:alamb/redirect_datafusion

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Apr 25, 2024

Closes apache/datafusion#10194
Closes #502

Per @kou 's suggestion in #502 (comment), this PR adds a .htaccess file with a redirect from all www.apache.org/datafusion urls to datadfusion.apache.org urls (I think)

Documentaiton on these files is here: https://infra.apache.org/project-site.html

I don't really know how to test this other than "in production"

@alamb alamb requested a review from kou April 25, 2024 00:10
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Let's try this!

@kou kou changed the title [Website]: Add .htaccess to redirect https://arrow.apache.org/datafusion to https://datafusion.apache.org/ [Website] Add .htaccess to redirect https://arrow.apache.org/datafusion to https://datafusion.apache.org/ Apr 25, 2024
@kou kou merged commit 50b2739 into apache:main Apr 25, 2024
@kou
Copy link
Member

kou commented Apr 25, 2024

Hmm. .htaccess isn't copied to https://github.com/apache/arrow-site/tree/asf-site .

@alamb
Copy link
Contributor Author

alamb commented Apr 25, 2024

I did double check that the update to the dropdown works
Screenshot 2024-04-24 at 8 22 53 PM

I will make another PR to copy to asf-site

@alamb alamb deleted the alamb/redirect_datafusion branch April 25, 2024 00:25
@alamb
Copy link
Contributor Author

alamb commented Apr 25, 2024

Filed #506

kou pushed a commit that referenced this pull request Apr 25, 2024
Follow on to #505 to actually
copy the .htaccess file to the deployment site. Thanks to @kou for
noticing this
#505 (comment)
alamb added a commit that referenced this pull request Apr 25, 2024
Closes apache/datafusion#10124

# Rationale
See apache/datafusion#10124 -- basically we
moved a URL that is bookmarked / comes up in google search. We need to
redirect to the new location

# Changes
Use the `.htaccess` process added in
#505
#506 with @kou to redirect to
the new location
andygrove pushed a commit that referenced this pull request Jun 4, 2024
Closes #528 

This PR adds a line to `.htaccess` file which will should redirect all
arrow.apache.org/datafusion-python URLs to datafusion.apache.org/python.

This applies the same change as used for the top level `datafusion`
#505
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.

Redirect existing docs from https://arrow.apache.org/ to https://datafusion.apache.org/

2 participants