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

filter to alter URL submitted to ccss.com #53

Closed
futtta opened this Issue Jul 30, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@futtta
Owner

futtta commented Jul 30, 2018

cfr. Dr Paul;

add_filter('autoptimize_ccss_fullurl','enforce_staging2');
function enforce_staging2($in) {
	return str_replace('www.guide2getting.com','www.staging2.guide2getting.com',$in); 
}
@denydias

This comment has been minimized.

Show comment
Hide comment
@denydias

denydias Jul 30, 2018

Collaborator

Is this really needed? I mean, if a dev is cautious enough to have a stage env (kudos to her!), what is the benefit to trigger a rule in the prod site redirecting the request to stage?

Collaborator

denydias commented Jul 30, 2018

Is this really needed? I mean, if a dev is cautious enough to have a stage env (kudos to her!), what is the benefit to trigger a rule in the prod site redirecting the request to stage?

@futtta

This comment has been minimized.

Show comment
Hide comment
@futtta

futtta Jul 30, 2018

Owner
Owner

futtta commented Jul 30, 2018

@denydias

This comment has been minimized.

Show comment
Hide comment
@denydias

denydias Jul 30, 2018

Collaborator

Oh! I see! wpengine - as always - being wpengine and providing a confusing service for their users.

Collaborator

denydias commented Jul 30, 2018

Oh! I see! wpengine - as always - being wpengine and providing a confusing service for their users.

@futtta futtta added the to be tested label Jul 31, 2018

@futtta futtta added this to the 1.7.0 milestone Jul 31, 2018

@futtta futtta removed the to be tested label Aug 14, 2018

@futtta futtta closed this Aug 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment