-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Building WordPress theme on Windows #1531
Comments
I think you should be able to use Does this help? |
@gaearon Yes that helps. Thanks. The other question I have is: does anyone have any examples/tutorials of how to build only parts of a WordPress theme as a Single Page App instead of the entire website to get the full SEO benefits as discussed in this blog post? |
@olivia101 for SEO i think you could do a user agent switching. It's similar to what prerender.io does. But instead of an external service you could feed the bots to wordpress' own theme engine. I'm building one myself currently. |
I’m going to close as this is not directly actionable in this repo, but feel free to continue the discussion! |
for anyone who needs user agent switching for bots in WordPress / PHP:
put this in your theme's index.php reference: https://gist.github.com/thoop/8165802 and https://prerender.io/documentation/install-middleware |
@viankakrisna Thank you, I'll give that a go. |
I am new to CRA and a React beginner.
I am planning to build a WordPress theme using React + Redux and the WP API. I will be using the Foxhound theme as a guide.
I currently have a WordPress website running on my local Windows 10 machine using Wampserver 3.0.8 (Apache 2.4.23, PHP 7.0.11, MySQL 5.7.15).
I am using an Apache virtual host and the WordPress website loads at mywebsite.dev
Does CRA support named URLs e.g. mywebsite.dev as opposed to localhost:3000?
The text was updated successfully, but these errors were encountered: