How to clone homepage for multi region site?

How would i clone the homepage of my website ? I understand and have used to plugins that duplicate your page, the difficulty I am having is that I need to create a multi-site from 1 domain. For example, I have mywebsite.com - this targets my usa audience mywebsite.com/es - this would target spanish audience I would really like to know how I would duplicate mywebsite.com and then edit that page and content so that it is in spanis If …
Category: Web

Image modification

I am a beginner at CSS. I have followed Airbnb clone challenge. I believe that I follow everything the instructor does. Here is my problem. I added an image from my wix website. And, I added layout, objectift and objectposition according to the instructor. When is written, the image has to change its shape and size. But, nothing happen. Can you please help me what is problem?
Category: Web

Wordpress cloned but frontend still displays http://old_wordpress_site

I have cloned my old_wordpress_site: files and db. In the database I have replaced everything from "old_wordpress_site" into "new_wordpress_site". Wp-config.php on the new site has been updated with the credentials of the new database. The admin dashboard is on the new url. However, when I click "visit site" in admin dashboard, the frontend initially displays the new url and than switches to the old url after half a second. What am I missing here? Could it be that the front-end …
Category: Web

Why is my staging subdomain not sending wordpress_logged_in cookies?

We have a custom login and account creation plugin. It works fine on our live environment (example.com) but not on our staging environment (test.example.com). When we call wp_insert_user via an AJAX function, it successfully creates the user and returns their ID. wp_signon also appears to work. But in both cases, the user doesn't actually get logged in on the staging environment. After looking through Chrome's developer tools, I realized that the live environment is sending set-cookie: wordpress_logged_in_... like it's supposed …
Category: Web

Clone WordPress for testing on localhost (with Fiddler)

My local setup for WordPress is at http://127.0.0.3/blog. When calling https://my.domain.name/blog/wp-login.php, I get the page served; including Google CAPTCHA. But the login post to a 302 redirect to http://127.0.0.3/blog. In order to overwrite my server default domain I added locally this to my wp-config.php file: define('WP_HOME','http://127.0.0.3/blog'); define('WP_SITEURL','http://127.0.0.3/blog'); define('FORCE_SSL_LOGIN',false); define('FORCE_SSL_ADMIN',false); In my Fiddler Web Debugger script I am using the following code to redirect my browser to go to my local setup: if (oSession.HostnameIs("my.domain.name")){ oSession.bypassGateway = true; if (oSession.HTTPMethodIs("CONNECT")){ oSession["x-replywithtunnel"] = …
Category: Web

Automatically clone wordpress site to subdirectory

I want to automatically clone mother website to subdirectory, which takes too much steps now and I think there would be easier way. Here's my steps I'm doing now Make subdirectory site (add site) > install astro theme on subdirectory > delete sample pages and post > import mother site > change few things on cloned site (name etc..) I think there would be easier way, Would be so nice to make it automatically. If you know any way please …
Category: Web

Curveball cloning WP site to new URL

I am scratching my head, and wonder what I'm missing here. I have done this kind of cloning lots of times, and never had an issue before. I am a Linux systems administrator by trade with significant exposure to Wordpress, but not a Wordpress expert. I have attempted to clone a specific wordpress site (I've tried it more then once, in case I made any stupid mistakes), but I can't get it working. I have Dumped DB from old site. …
Category: Web

Multisite: cloning, but also updating too

My requirements are: 1 main website and 100 subsites All subsites will have same themes, plugins, pages, menus, sidebars - everything Only posts in each subsite will be different. How do I manage this? NS Cloner - but what if I need to make a change in the future to the theme or widget or something - 100% this will happen - what do I do then? Thanks in advance
Category: Web

Clone Wordpress site from development server to live server

I created a site in WordPress on my development server. Now, I want it to go live. I copied over all the files from the development server to the live server. Created a new database for WP with new user and changed the credentials in wp-config.php file. I have also changed the siteurl URL and home URL in the database table wp_options, however, still can't access the site giving me "Page Load Timeout". What am I missing out?
Category: Web

Duplicate/Clone a Multi-site But Use Same Images & Resources?

I'm looking for any advice before taking the step of cloning my main site into a sub-but utilizing the same resources. Is this an easy process? I realize I can strictly instruct my url paths, but in some circumstances the resources come from the media library and I may have to be more diligent. Has anyone done this? Is there an easy way about going about it?
Category: Web

Cloning blog to localhost via WAMP

How do restore a Wordpress blog (actually, cloning would be the right word) from my server to localhost with WAMP? I backed up my blog with BackUpWordPress and got a .zip file sitename.backup.2012-01-29-12-50-08. As per instructions, I unzipped the file and got a complete Wordpress installation (folders wp-admin, wp-content, a bunch of files, .htaccess etc.) and an SQL database named database_myusername_wrdp2. I copied all the files except the database to WAMP's www folder. Then I opened phpMyAdmin through WAMP, created …
Category: Web

Multisite: copy template when a subsite is created

I want to create a website where new registered users have their own website. The new site have to have content and some options activated of my template. I'm using Customizr, it's great. I've not get change the initial options by default of Customizr yet. So I've thought about making an automatic copy of my template with the registration data (subdomain name, username, etc.) every time a user registers. I think NS clone has an add on for that but …
Category: Web

New clone of Wordpress site 301 redirects back to orginal site

My new cloned site when accessed by IP in a browser forwards back to the original site via a '301 Moved Permanently'. How do I keep this new site from forwarding back to the old? History: Our dedicated webserver is dying, and I am attempting to get working clones of our wordpress websites working elsewhere before it is dead. I am new at this and wanted to have the security of seeing them running in a new linode VM before …
Category: Web

Cloned a site but can't log in - redirecting to old site

I've cloned the production site at example.com to my own dev server, calling it example.mydomain.com. It displays OK, as long as I use port 8080 (bypassing my varnish server). I can successfully log in to the wp-admin page at example.com, but I can't reach the page at example.mydomain.com/wp-admin - it redirects to the homepage of example.com. Suspecting my varnish set up might be at fault, I visited example.mydomain.com:8080/wp-admin and was presented with a login form. However, entering the credentials there …
Category: Web

How to copy an existing (custom themed) site to a new domain

I'm trying to find a way of duplicating an existing Wordpress site that uses a custom theme to a new domain. Once it's there I'll do a redesign of the site and redirect the old url to the new one. Just briefly... I tried following the instructions @ http://codex.wordpress.org/Moving_WordPress but when it told me to "3.Go back to your OLD blog and go to options and change the url (both of them) to that of your new site." It logged …
Category: Web

Can I clone WP to another directory on the same server?

I want to do some changes on WP for a friend but I don't want to do it live. So I was thinking of cloning the current WP to another directory on the same server and then do work on that version (www.myfriendswp.com -> www.myfriendswp.com/testing) and, when done, clone the changes back to main directory. Is this possible or will there be some problems? Most tutorials and plugins are talking about cloning to a different server.
Category: Web

Best way to salvage a very old WP site

I have a client who's in a situation with her website: her ex-husband owns the hosting company and won't let her have FTP or any other server access, she still has dashboard access, she wants to move the site to another hosting provider, and the site is on version 3.5.1. - hasn't been updated since 2013! Same with the plugins, of course. Normally I'd install Duplicator and let it do its thing, but since the WP core files are so …
Category: Web

Create a wordpress test-system as a clone from productive system

For our WordPress-website, I wanted to create a test instance - to test WordPress-updates/plugin updates and new developments on the theme and so on ... so i wrote a script to copy the database and the files: sourcedir="/srv/www/htdocs/www.example.de" testdir="/srv/www/htdocs/test.example.de" workdir="/data/example.de_test-system" sqldumpfile="$workdir/mysql_dump_example_wp2017.sql" echo "delete webroot test.example.de" rm -rf $testdir echo "www.example.de nach test.example.de kopieren" cp -R $sourcedir $testdir echo "cache-verzeichnisse leeren" rm -rf $testdir/wp-content/cache/minify rm -rf $testdir/wp-content/cache/db rm -rf $testdir/wp-content/cache/object rm -rf $testdir/wp-content/cache/page_enhanced rm -rf $testdir/wp-content/cache/tmp echo "alten dump loeschen" rm …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.