OpenSCAP / website

Tracker for new OpenSCAP portal
2 stars 1 forks source link

Make sure you're not using the "openscap-lhorakov.rhcloud.com" in URLs #86

Closed mmsrubar closed 8 years ago

mmsrubar commented 8 years ago

The links won't work after we switch the domains! At least this page does it! Not sure about others.

mpreisler commented 8 years ago

A good way to check this is to search for openscap-lhorakov in all the pages and all posts. Wordpress dashboard allows it.

https://www-rhopenscap.rhcloud.com/wp-admin/edit.php?s=openscap-lhorakov&post_status=all&post_type=post https://www-rhopenscap.rhcloud.com/wp-admin/edit.php?s=openscap-lhorakov&post_status=all&post_type=page

Same goes for usage of ../ in URLs or even http://www-rhopenscap.rhcloud.com. Everything can be done using the /something/somewhere syntax and that is the most portable.

I will keep this open for now, we will check this before release.

mpreisler commented 8 years ago

Have done another round of cleaning this up. A few more rhcloud instances cropped up in tutorials and pages. Fortunately it's easy to fix it in an automated way. Here is an updated set of queries to check for this issue:

https://www-rhopenscap.rhcloud.com/wp-admin/edit.php?s=rhcloud&post_status=all&post_type=post https://www-rhopenscap.rhcloud.com/wp-admin/edit.php?s=rhcloud&post_status=all&post_type=page

mpreisler commented 8 years ago

Removing release blocker, the page works even with old URLs. Everything is redirected correctly.

jan-cerny commented 8 years ago

@mpreisler Your two queries give no results. I think we can close this issue.

mpreisler commented 8 years ago

@jan-cerny I am keeping this open on purpose. Will check it again before GA. People editing posts and pages often create new occurrences of absolute URLs.

mpreisler commented 8 years ago

No bad URLs as of 2015-11-02, closing.